1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
```
% pandoc -f rst -s -t native
=====
Title
=====
--------
Subtitle
--------
header1
=======
header2
-------
.. _id:
header3
~~~~~~~
.. _id2:
.. _id3:
header4
~~~~~~~
^D
Pandoc
Meta
{ unMeta =
fromList
[ ( "subtitle" , MetaInlines [ Str "Subtitle" ] )
, ( "title" , MetaInlines [ Str "Title" ] )
]
}
[ Header 1 ( "header1" , [] , [] ) [ Str "header1" ]
, Header 2 ( "header2" , [] , [] ) [ Str "header2" ]
, Header 3 ( "id" , [] , [] ) [ Str "header3" ]
, Header
3
( "id3" , [] , [] )
[ Str "header4" , Span ( "id2" , [] , [] ) [] ]
]
```
|