aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
Diffstat (limited to 'test/command')
-rw-r--r--test/command/1762.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/command/1762.md b/test/command/1762.md
new file mode 100644
index 000000000..c0c34dc24
--- /dev/null
+++ b/test/command/1762.md
@@ -0,0 +1,18 @@
+```
+% pandoc -t latex
+# One {.unlisted}
+
+# Two {.unnumbered}
+
+# Three {.unlisted .unnumbered}
+^D
+\hypertarget{one}{%
+\section{One}\label{one}}
+
+\hypertarget{two}{%
+\section*{Two}\label{two}}
+\addcontentsline{toc}{section}{Two}
+
+\hypertarget{three}{%
+\section*{Three}\label{three}}
+```