2018-08-07 09:26:11 -07:00
|
|
|
```
|
|
|
|
% pandoc -f markdown -t native -s
|
|
|
|
---
|
|
|
|
foo: 42
|
|
|
|
...
|
|
|
|
^D
|
2021-09-19 12:09:51 -07:00
|
|
|
Pandoc
|
|
|
|
( Meta
|
|
|
|
{ unMeta = fromList [ ( "foo", MetaInlines [ Str "42" ] ) ] }
|
|
|
|
) []
|
2018-08-07 09:26:11 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -f markdown -t native -s
|
|
|
|
---
|
|
|
|
foo: true
|
|
|
|
...
|
|
|
|
^D
|
2021-09-19 12:09:51 -07:00
|
|
|
Pandoc
|
|
|
|
( Meta { unMeta = fromList [ ( "foo", MetaBool True ) ] } ) []
|
2018-08-07 09:26:11 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -f markdown -t native -s
|
|
|
|
---
|
|
|
|
foo: True
|
|
|
|
...
|
|
|
|
^D
|
2021-09-19 12:09:51 -07:00
|
|
|
Pandoc
|
|
|
|
( Meta { unMeta = fromList [ ( "foo", MetaBool True ) ] } ) []
|
2018-08-07 09:26:11 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -f markdown -t native -s
|
|
|
|
---
|
|
|
|
foo: FALSE
|
|
|
|
...
|
|
|
|
^D
|
2021-09-19 12:09:51 -07:00
|
|
|
Pandoc
|
|
|
|
( Meta { unMeta = fromList [ ( "foo", MetaBool False ) ] } ) []
|
2018-08-07 09:26:11 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -f markdown -t native -s
|
|
|
|
---
|
|
|
|
foo: no
|
|
|
|
...
|
|
|
|
^D
|
2021-09-19 12:09:51 -07:00
|
|
|
Pandoc
|
|
|
|
( Meta
|
|
|
|
{ unMeta = fromList [ ( "foo", MetaInlines [ Str "no" ] ) ] }
|
|
|
|
) []
|
2018-08-07 09:26:11 -07:00
|
|
|
```
|
|
|
|
|