2018-01-10 21:07:33 +01:00
|
|
|
```
|
|
|
|
% pandoc -f rst -s -t native
|
|
|
|
=====
|
|
|
|
Title
|
|
|
|
=====
|
|
|
|
|
|
|
|
--------
|
|
|
|
Subtitle
|
|
|
|
--------
|
|
|
|
|
|
|
|
header1
|
|
|
|
=======
|
|
|
|
|
|
|
|
header2
|
|
|
|
-------
|
|
|
|
|
|
|
|
.. _id:
|
|
|
|
|
|
|
|
header3
|
|
|
|
~~~~~~~
|
|
|
|
|
|
|
|
.. _id2:
|
|
|
|
.. _id3:
|
|
|
|
|
|
|
|
header4
|
|
|
|
~~~~~~~
|
|
|
|
^D
|
2021-09-19 21:09:51 +02:00
|
|
|
Pandoc
|
2021-09-29 06:17:53 +02:00
|
|
|
Meta
|
|
|
|
{ unMeta =
|
|
|
|
fromList
|
|
|
|
[ ( "subtitle" , MetaInlines [ Str "Subtitle" ] )
|
|
|
|
, ( "title" , MetaInlines [ Str "Title" ] )
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
}
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Header 1 ( "header1" , [] , [] ) [ Str "header1" ]
|
|
|
|
, Header 2 ( "header2" , [] , [] ) [ Str "header2" ]
|
|
|
|
, Header 3 ( "id" , [] , [] ) [ Str "header3" ]
|
|
|
|
, Header
|
|
|
|
3
|
|
|
|
( "id3" , [] , [] )
|
|
|
|
[ Str "header4" , Span ( "id2" , [] , [] ) [] ]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2018-01-10 21:07:33 +01:00
|
|
|
```
|