aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-08-29 20:04:10 -0700
committerJohn MacFarlane <[email protected]>2023-08-29 20:04:39 -0700
commit09de84fff41d4a6e8d227baeea0037531fcef9e2 (patch)
tree311f3803a8986b418dfbba608509af2fa227db91 /test
parent7dca09d03ad483e1ad2443dbb68e56fd55660bdb (diff)
Support images with wikilink syntax.
E.g. `![[foo|bar]]`. (This requires enabling one of the `wikilinks` extensions.) Closes #8853.
Diffstat (limited to 'test')
-rw-r--r--test/command/8853.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/command/8853.md b/test/command/8853.md
new file mode 100644
index 000000000..75fed4675
--- /dev/null
+++ b/test/command/8853.md
@@ -0,0 +1,6 @@
+```
+% pandoc -f markdown+wikilinks_title_after_pipe --wrap=none
+[[hi]] and ![[hi]]
+^D
+<p><a href="hi" title="wikilink">hi</a> and <img src="hi" title="wikilink" alt="hi" /></p>
+```