| 1 |
@ducktype/1.0 |
| 2 |
@define foo bar |
| 3 |
|
| 4 |
= Hello world |
| 5 |
- Subtitle |
| 6 |
@title[type=link] Link title |
| 7 |
|
| 8 |
[note .tip style="tip"] |
| 9 |
You can use all sorts of semantic elements. |
| 10 |
|
| 11 |
Here is some $em[style=strong](inline) markup. |
| 12 |
Here is an $link[>page#sect](internal link). |
| 13 |
Here is an $link[>>http://example.com](external link). |
| 14 |
Here is $foo;. |
| 15 |
|
| 16 |
[-] line comment |
| 17 |
|
| 18 |
That was a comment. So is this: |
| 19 |
|
| 20 |
[-- |
| 21 |
block comment |
| 22 |
[not markup] |
| 23 |
--] |
| 24 |
|
| 25 |
== Section |
| 26 |
[#sectid] |
| 27 |
|
| 28 |
[code python |
| 29 |
type=python] |
| 30 |
[[[ |
| 31 |
def this_is(): |
| 32 |
some_code() |
| 33 |
]]] |