|
|
|
---
|
|
|
|
title: 'Wooooo a title'
|
|
|
|
subtitle: 'A subtitle'
|
|
|
|
---
|
|
|
|
[#test-import.md]{}
|
|
|
|
|
|
|
|
# Hello world!
|
|
|
|
|
|
|
|
This is an *example* **yay**!
|
|
|
|
|
|
|
|
:::{partial=test-partial.md}
|
|
|
|
:::
|
|
|
|
|
|
|
|
:::{if=cat}
|
|
|
|
This should only be shown to cats
|
|
|
|
:::
|
|
|
|
|
|
|
|
|
|
|
|
``` {.python .run}
|
|
|
|
ctx.set_flag("cat", True)
|
|
|
|
```
|
|
|
|
|
|
|
|
``` {.python .run}
|
|
|
|
println(f"The main document's title is '{ctx.get_metadata('title')}'")
|
|
|
|
```
|
|
|
|
|
|
|
|
::::{if=cat}
|
|
|
|
This should only be shown to cats the second time
|
|
|
|
::::
|
|
|
|
|
|
|
|
This should be seen by all.
|
|
|
|
|
|
|
|
[!opendatatask]{}
|
|
|
|
|
|
|
|
[This too!]{if=cat}
|
|
|
|
|
|
|
|
[What]{.co}
|
|
|
|
|
|
|
|
[An inline command with contents and **bold** and another [!nop]{} inside!]{c=nop}
|
|
|
|
|
|
|
|
[!nop]{a=b} <!-- A special command! WOW -->
|
|
|
|
|
|
|
|
|