```
% 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}}
```