You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yes in the input becomes true in the output. According to the latest YAML spec, "yes" is no longer a boolean, and reasonably so.
$ cat test.md
---
indenting: [medium,yes]
...
$ pandoc -t context -s test.md | grep indenting
\setupindenting[medium,true]
$ pandoc -v
pandoc 3.5
Features: +server +lua
Scripting engine: Lua 5.4
User data directory: /home/exp/.local/share/pandoc
Copyright (C) 2006-2024 John MacFarlane. Web: https://pandoc.org
This is free software; see the source for copying conditions. There is no
warranty, not even for merchantability or fitness for a particular purpose.
The text was updated successfully, but these errors were encountered:
Just to mention a work-around for this kind of issue: quoting the problematic value prevents it from being converted to a boolean. The following should all work:
indenting: [medium,'yes']indenting:
- medium
- 'yes'# and in this specific case:indenting: 'medium,yes'
yes
in the input becomestrue
in the output. According to the latest YAML spec, "yes" is no longer a boolean, and reasonably so.The text was updated successfully, but these errors were encountered: