Markdown citations interpreted as list headings #10284
Unanswered
malcolmsailor
asked this question in
Q&A
Replies: 2 comments 1 reply
-
It is, in fact, valid syntax for an example list item. I don't have any good advice. Why don't you open issue requesting that the markdown writer use |
Beta Was this translation helpful? Give feedback.
1 reply
-
Thanks for your reply. I figured out a workaround for my use case which is to use the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In Pandoc's Markdown, I'm having an issue with citations after newlines in list items being interpreted as list headings. Here's what seems to be a minimal example:
If I save this in
file.md
and runpandoc -t latex file.md
, I get the following output:The citation is rendered as a list item, which is of course not what I want.
If I put the citation in curly braces like
@{author2024paper}
, it fixes the issue. However, my workflow involves first recompiling my document as markdown in order to apply a few extensions (i.e., doingpandoc -f markdown -t markdown+EXTENSIONS
) and at this stage pandoc removes the curly braces.Is there an approved way of avoiding this scenario?
Beta Was this translation helpful? Give feedback.
All reactions