2017-08-26 07:04:57 +02:00
|
|
|
```
|
|
|
|
% pandoc -f latex -t native
|
|
|
|
\hypertarget{foo}{%
|
|
|
|
\section{A section}\label{foo}
|
|
|
|
}
|
|
|
|
^D
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Header
|
|
|
|
1 ( "foo" , [] , [] ) [ Str "A" , Space , Str "section" ]
|
|
|
|
]
|
2017-08-26 07:04:57 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -f latex -t native
|
|
|
|
\hypertarget{bar}{%
|
|
|
|
\section{A section}\label{foo}
|
|
|
|
}
|
|
|
|
^D
|
2021-09-19 21:09:51 +02:00
|
|
|
[ Div
|
2021-09-29 06:17:53 +02:00
|
|
|
( "bar" , [] , [] )
|
|
|
|
[ Header
|
|
|
|
1 ( "foo" , [] , [] ) [ Str "A" , Space , Str "section" ]
|
|
|
|
]
|
2021-09-19 21:09:51 +02:00
|
|
|
]
|
2017-08-26 07:04:57 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -f latex -t native
|
|
|
|
Bar \hypertarget{foo}{Foo}
|
|
|
|
^D
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Para
|
|
|
|
[ Str "Bar"
|
|
|
|
, Space
|
|
|
|
, Span ( "foo" , [] , [] ) [ Str "Foo" ]
|
|
|
|
]
|
|
|
|
]
|
2017-08-26 07:04:57 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -f latex -t native
|
|
|
|
\hypertarget{foo}{%
|
|
|
|
\begin{verbatim}
|
|
|
|
bar
|
|
|
|
\end{verbatim}
|
|
|
|
}
|
|
|
|
^D
|
2021-09-29 06:17:53 +02:00
|
|
|
[ Div
|
|
|
|
( "foo" , [] , [] ) [ CodeBlock ( "" , [] , [] ) "bar" ]
|
|
|
|
]
|
2017-08-26 07:04:57 +02:00
|
|
|
```
|
|
|
|
|