mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-29 01:41:20 +08:00
36bbdc667a
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.
11 lines
291 B
Markdown
11 lines
291 B
Markdown
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/}}
|
|
```
|