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