pandoc/test/command/4819.md

56 lines
689 B
Markdown
Raw Normal View History

```
% pandoc -f markdown -t native -s
---
foo: 42
...
^D
Pandoc
Meta
{ unMeta = fromList [ ( "foo" , MetaInlines [ Str "42" ] ) ]
}
[]
```
```
% pandoc -f markdown -t native -s
---
foo: true
...
^D
Pandoc
Meta { unMeta = fromList [ ( "foo" , MetaBool True ) ] } []
```
```
% pandoc -f markdown -t native -s
---
foo: True
...
^D
Pandoc
Meta { unMeta = fromList [ ( "foo" , MetaBool True ) ] } []
```
```
% pandoc -f markdown -t native -s
---
foo: FALSE
...
^D
Pandoc
Meta { unMeta = fromList [ ( "foo" , MetaBool False ) ] }
[]
```
```
% pandoc -f markdown -t native -s
---
foo: no
...
^D
Pandoc
Meta { unMeta = fromList [ ( "foo" , MetaBool False ) ] }
[]
```