pandoc/test/command/4819.md

57 lines
708 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" , MetaInlines [ Str "no" ] ) ]
}
[]
```