pandoc/test/command/3755.md

50 lines
844 B
Markdown
Raw Normal View History

```
% pandoc -t native -s
---
title: 'Titel'
date: '22. Juni 2017'
---
^D
Pandoc
Meta
{ unMeta =
fromList
[ ( "date"
, MetaInlines
[ Str "22." , Space , Str "Juni" , Space , Str "2017" ]
)
, ( "title" , MetaInlines [ Str "Titel" ] )
]
}
[]
```
```
% pandoc -t native -s
---
title: '<div>foo</div>'
date: |
22. Juni 2017
---
^D
Pandoc
Meta
{ unMeta =
fromList
[ ( "date"
, MetaBlocks
[ OrderedList
( 22 , Decimal , Period )
[ [ Plain [ Str "Juni" , Space , Str "2017" ] ] ]
]
)
, ( "title"
, MetaBlocks
[ Div ( "" , [] , [] ) [ Plain [ Str "foo" ] ] ]
)
]
}
[]
```