aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-08-29 19:25:30 -0700
committerJohn MacFarlane <[email protected]>2023-08-29 19:25:30 -0700
commit7dca09d03ad483e1ad2443dbb68e56fd55660bdb (patch)
tree30539ea6a11f552f27c428bc0e2e034b0b78981c /test
parentcd3fcd5c0e3382097bce81b9836a6a340ec9931b (diff)
Markdown: Allow a citation or reference link to be parsed after a `!`.
Closes #8254.
Diffstat (limited to 'test')
-rw-r--r--test/command/8254.md20
1 files changed, 20 insertions, 0 deletions
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]" ]
+ ]
+]
+```