aboutsummaryrefslogtreecommitdiff
path: root/test/command/2549.md
blob: 8f4aea852794f0901f1b8c81a424ab323c1f90ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
```
% pandoc -f latex -t native
\hypertarget{foo}{%
\section{A section}\label{foo}
}
^D
[Header 1 ("foo",[],[]) [Str "A",Space,Str "section"]]
```

```
% pandoc -f latex -t native
\hypertarget{bar}{%
\section{A section}\label{foo}
}
^D
[Div ("bar",[],[])
 [Header 1 ("foo",[],[]) [Str "A",Space,Str "section"]]]
```

```
% pandoc -f latex -t native
Bar \hypertarget{foo}{Foo}
^D
[Para [Str "Bar",Space,Span ("foo",[],[]) [Str "Foo"]]]
```

```
% pandoc -f latex -t native
\hypertarget{foo}{%
\begin{verbatim}
bar
\end{verbatim}
}
^D
[Div ("foo",[],[])
 [CodeBlock ("",[],[]) "bar"]]
```