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
Use this metadata file (I tested with backticks but this causes problems in github so here I replace backticks with tildes; make sure no newline after end of raw block):
Yes, I ended up with a separate metadata file as I couldn't get the header-includes to work added to the defaults file directly. Note if it is a raw inline then it works:
Explain the problem.
See https://groups.google.com/g/pandoc-discuss/c/FT_hz4lbNnA for context.
Use this metadata file (I tested with backticks but this causes problems in github so here I replace backticks with tildes; make sure no newline after end of raw block):
Now call pandoc with this file (type something into STDIN)
Note the header-include is malformed. Now add a newline in the metadata file:
And now the raw block gets output properly:
Honestly, I don't understand the YAML spec well enough to know if this is expected or not:
https://yaml.org/spec/1.2.2/#812-literal-style
The default block chomping is apparently clip: https://yaml.org/spec/1.2.2/#8112-block-chomping-indicator — but any setting (e.g.
+
) doesn't impact this behaviour in Pandoc...The text was updated successfully, but these errors were encountered: