add imports to snippet

added imports and syntax highlighting so it is easier to run for newcomers
This commit is contained in:
ay-ex
2023-03-17 08:04:56 +00:00
committed by Dion Moult
parent 0b7b0a29a9
commit 553334d50e
+6 -2
View File
@@ -4,7 +4,11 @@ With **IfcTester**, you can author and read **Information Delivery Specification
## How to use it
```
```python
import ifcopenshell
from ifctester import ids, reporter
# create new IDS
my_ids = ids.Ids(title="My IDS")
@@ -32,4 +36,4 @@ my_ids.validate(my_ifc)
# show results:
reporter.Console(my_ids).report()
```
```