summaryrefslogtreecommitdiff
path: root/test/command/rst-links.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/command/rst-links.md')
-rw-r--r--test/command/rst-links.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/command/rst-links.md b/test/command/rst-links.md
new file mode 100644
index 000000000..496bebc54
--- /dev/null
+++ b/test/command/rst-links.md
@@ -0,0 +1,18 @@
+```
+% pandoc -f rst
+`*ab*`_
+
+.. _`*ab*`: foo
+^D
+<p><a href="foo">*ab*</a></p>
+```
+
+```
+% pandoc -f rst
+`A B
+c`_
+
+.. _A B C: foo
+^D
+<p><a href="foo">A B c</a></p>
+```