mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-20 16:21:52 +00:00
The function converts links to spans. It is used, for example, to avoid nested links. The HTML writer used to put the description of nested links into small caps, but uses a simple *span* now.
291 B
291 B
The heading is "unlinked" before adding it to the TOC.
% pandoc --to=latex
<http://example.com/> {-}
=========================
^D
\section*{\texorpdfstring{\url{http://example.com/}}{http://example.com/}}\label{httpexample.com}
\addcontentsline{toc}{section}{{http://example.com/}}