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
Explain the problem.
The markdown+inline_notes reader will recognize multi-paragraph inline notes, but it will gobble all paragraphs except the first:
$ pandoc -f markdown+inline_notes -t native <<< $'foo^[This is a footnote\n\nthat spans several paragraphs] bar'
[ Para
[ Str "foo"
, Note
[ Para
[ Str "This"
, Space
, Str "is"
, Space
, Str "a"
, Space
, Str "footnote"
]
]
, Space
, Str "bar"
]
]
Since inline footnotes are inline elements, I would expect that multi-paragraph notes not be recognized as notes:
[ Para
[ Str "foo^[This"
, Space
, Str "is"
, Space
, Str "a"
, Space
, Str "footnote"
]
, Para
[ Str "that"
, Space
, Str "spans"
, Space
, Str "several"
, Space
, Str "paragraphs]"
, Space
, Str "bar"
]
]
$ pandoc -v
pandoc 2.18
Compiled with pandoc-types 1.22.2, texmath 0.12.5, skylighting 0.12.3,
citeproc 0.7, ipynb 0.2, hslua 2.2.0
Scripting engine: Lua 5.4
User data directory: /root/.local/share/pandoc
Copyright (C) 2006-2022 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:
Explain the problem.
The
markdown+inline_notes
reader will recognize multi-paragraph inline notes, but it will gobble all paragraphs except the first:Since inline footnotes are inline elements, I would expect that multi-paragraph notes not be recognized as notes:
Pandoc version?
Manually built using the witiko/pandoc-devenv Docker image from Pandoc source code at commit ec27946:
The text was updated successfully, but these errors were encountered: