Leo Butler <[email protected]> writes:

> The manual does not indicate that underscores need to be escaped in
> links (and they can't be, as far as I can tell). The latex and html
> exporters interpret them as the start of a subscript.
>
> The link =[[mailto:[email protected]][ex_ample]]= is expected to export
> to =\href{mailto:[email protected]}{ex_ample}= but instead, we get
> [[mailto:[email protected]][ex_ample]] exports to (in latex): 
> =\href{mailto:ex\[email protected]}{ex\textsubscript{ample}}=

This is expected. You mixed URL part of the link and the description.
Link description can have same formatting as any other Org text.
So, underscores are indeed treated as markup.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to