aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-05-12 14:36:43 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-05-12 14:37:07 -0700
commitbe9e93d4aeb37db8e07d2735527f9afc324ac70d (patch)
tree34e73003803a66112e81a754033ae7601c57e0c7 /test
parent46179d5b3e84b5c709e09924cbda524230ebd3fe (diff)
downloadpandoc-be9e93d4aeb37db8e07d2735527f9afc324ac70d.tar.gz
LaTeX writer: create hypertarget for links with identifier.
Closes #6360.
Diffstat (limited to 'test')
-rw-r--r--test/command/6360.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/command/6360.md b/test/command/6360.md
new file mode 100644
index 000000000..3988710bf
--- /dev/null
+++ b/test/command/6360.md
@@ -0,0 +1,6 @@
+```
+% pandoc -f native -t latex --wrap=none
+[Link ("test2",[],[]) [Str "link",Space,Str "to",Space,Str "text",Space,Str "test1"] ("#test1","")]
+^D
+\protect\hypertarget{test2}{\protect\hyperlink{test1}{link to text test1}}
+```