From 7dca09d03ad483e1ad2443dbb68e56fd55660bdb Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 29 Aug 2023 19:25:30 -0700 Subject: Markdown: Allow a citation or reference link to be parsed after a `!`. Closes #8254. --- test/command/8254.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 test/command/8254.md (limited to 'test/command') diff --git a/test/command/8254.md b/test/command/8254.md new file mode 100644 index 000000000..f2ed6dba3 --- /dev/null +++ b/test/command/8254.md @@ -0,0 +1,20 @@ +``` +% pandoc -t native +Wow![@legras_michel_2010] +^D +[ Para + [ Str "Wow!" + , Cite + [ Citation + { citationId = "legras_michel_2010" + , citationPrefix = [] + , citationSuffix = [] + , citationMode = NormalCitation + , citationNoteNum = 2 + , citationHash = 0 + } + ] + [ Str "[@legras_michel_2010]" ] + ] +] +``` -- cgit v1.2.3