2017-06-23 22:31:08 +02:00
|
|
|
```
|
|
|
|
% pandoc -t native -s
|
|
|
|
---
|
|
|
|
title: 'Titel'
|
|
|
|
date: '22. Juni 2017'
|
|
|
|
---
|
|
|
|
^D
|
2021-09-19 21:09:51 +02:00
|
|
|
Pandoc
|
2021-09-29 06:17:53 +02:00
|
|
|
Meta
|
|
|
|
{ unMeta =
|
|
|
|
fromList
|
|
|
|
[ ( "date"
|
|
|
|
, MetaInlines
|
|
|
|
[ Str "22." , Space , Str "Juni" , Space , Str "2017" ]
|
|
|
|
)
|
|
|
|
, ( "title" , MetaInlines [ Str "Titel" ] )
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
}
|
2021-09-29 06:17:53 +02:00
|
|
|
[]
|
2017-06-23 22:31:08 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -t native -s
|
|
|
|
---
|
|
|
|
title: '<div>foo</div>'
|
|
|
|
date: |
|
|
|
|
22. Juni 2017
|
|
|
|
---
|
|
|
|
^D
|
2021-09-19 21:09:51 +02:00
|
|
|
Pandoc
|
2021-09-29 06:17:53 +02:00
|
|
|
Meta
|
|
|
|
{ unMeta =
|
|
|
|
fromList
|
|
|
|
[ ( "date"
|
|
|
|
, MetaBlocks
|
|
|
|
[ OrderedList
|
|
|
|
( 22 , Decimal , Period )
|
|
|
|
[ [ Plain [ Str "Juni" , Space , Str "2017" ] ] ]
|
|
|
|
]
|
|
|
|
)
|
|
|
|
, ( "title"
|
|
|
|
, MetaBlocks
|
|
|
|
[ Div ( "" , [] , [] ) [ Plain [ Str "foo" ] ] ]
|
|
|
|
)
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
|
|
|
}
|
2021-09-29 06:17:53 +02:00
|
|
|
[]
|
2017-06-23 22:31:08 +02:00
|
|
|
```
|
|
|
|
|