2021-03-13 21:50:44 +01:00
|
|
|
```
|
|
|
|
% pandoc -f mediawiki -t native
|
|
|
|
Maecenas at sapien tempor, pretium turpis ut, imperdiet augue.<ref>This is a multiline
|
|
|
|
|
|
|
|
reference
|
|
|
|
<i>with</i>
|
|
|
|
empty
|
|
|
|
|
|
|
|
linebreaks</ref> Nulla ut massa eget ex venenatis lobortis id in eros.
|
|
|
|
^D
|
2021-09-19 21:09:51 +02:00
|
|
|
[ Para
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Str "Maecenas"
|
|
|
|
, Space
|
|
|
|
, Str "at"
|
|
|
|
, Space
|
|
|
|
, Str "sapien"
|
|
|
|
, Space
|
|
|
|
, Str "tempor,"
|
|
|
|
, Space
|
|
|
|
, Str "pretium"
|
|
|
|
, Space
|
|
|
|
, Str "turpis"
|
|
|
|
, Space
|
|
|
|
, Str "ut,"
|
|
|
|
, Space
|
|
|
|
, Str "imperdiet"
|
|
|
|
, Space
|
|
|
|
, Str "augue."
|
|
|
|
, Note
|
|
|
|
[ Para
|
|
|
|
[ Str "This"
|
|
|
|
, Space
|
|
|
|
, Str "is"
|
|
|
|
, Space
|
|
|
|
, Str "a"
|
|
|
|
, Space
|
|
|
|
, Str "multiline"
|
|
|
|
]
|
|
|
|
, Para
|
|
|
|
[ Str "reference"
|
|
|
|
, SoftBreak
|
|
|
|
, RawInline (Format "html") "<i>"
|
|
|
|
, Str "with"
|
|
|
|
, RawInline (Format "html") "</i>"
|
|
|
|
, SoftBreak
|
|
|
|
, Str "empty"
|
|
|
|
]
|
|
|
|
, Para [ Str "linebreaks" ]
|
|
|
|
]
|
|
|
|
, Space
|
|
|
|
, Str "Nulla"
|
|
|
|
, Space
|
|
|
|
, Str "ut"
|
|
|
|
, Space
|
|
|
|
, Str "massa"
|
|
|
|
, Space
|
|
|
|
, Str "eget"
|
|
|
|
, Space
|
|
|
|
, Str "ex"
|
|
|
|
, Space
|
|
|
|
, Str "venenatis"
|
|
|
|
, Space
|
|
|
|
, Str "lobortis"
|
|
|
|
, Space
|
|
|
|
, Str "id"
|
|
|
|
, Space
|
|
|
|
, Str "in"
|
|
|
|
, Space
|
|
|
|
, Str "eros."
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
|
|
|
]
|
2021-03-13 21:50:44 +01:00
|
|
|
```
|