Closed rgaiacs closed 9 years ago
stringfy could handle strings in YAML header
$ pandoc -t json -f markdown <<EOF --- str: foo --- EOF [{"unMeta":{"str":{"t":"MetaInlines","c":[{"t":"Str","c":"foo"}]}}},[]]
but could not handle numbers
$ pandoc -t json -f markdown <<EOF --- int: 1 --- EOF [{"unMeta":{"int":{"t":"MetaString","c":"1"}}},[]]
This small change fix this problem.
Thanks!
stringfy could handle strings in YAML header
but could not handle numbers
This small change fix this problem.