51 lines
641 B
Markdown
51 lines
641 B
Markdown
|
```
|
||
|
% 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"])]})
|
||
|
[]
|
||
|
```
|
||
|
|