Replies: 1 comment 2 replies
-
I think |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When a template is used inside a markdown header, the template writer still breaks lines, and those are then interpreted by the Markdown reader to be in a new paragraph.
If I set "--wrap=none", then the problem goes away. But it feels strange that changing the wrapping can produce a breaking document here, since a long title by itself doesn't cause the markdown writer to break.
Is it simply not possible to use templates to solve this problem?
What best practices around the wrapping, templates, and newline-sensitive formats have you seen?
Thanks! More info below.
template.markdown
input.md
shell output
Pandoc version?
3.7.0.2, macos Apple Silicon, installed from Homebrew.
Beta Was this translation helpful? Give feedback.
All reactions