pandoc/test/command/4819.md
2021-09-29 08:28:54 -07:00

707 B

% 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" ] ) ]
    }
  []