39 lines
588 B
Markdown
39 lines
588 B
Markdown
|
```
|
||
|
% 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"]]
|
||
|
```
|
||
|
|