mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-30 17:59:17 +08:00
7571187792
As in #1294 \url and \href need to be protected inside an mbox for soul commands. Closes #9366.
35 lines
695 B
Markdown
35 lines
695 B
Markdown
```
|
|
% pandoc -f native -t latex
|
|
[ Para
|
|
[ Strikeout
|
|
[ Link
|
|
( "" , [] , [] )
|
|
[ Str "Example" ]
|
|
( "https://example.com" , "" )
|
|
]
|
|
]
|
|
, Para
|
|
[ Strikeout
|
|
[ Link
|
|
( "" , [] , [] )
|
|
[ Str "https://example.com" ]
|
|
( "https://example.com" , "" )
|
|
]
|
|
]
|
|
, Para
|
|
[ Strikeout
|
|
[ Link
|
|
( "" , [] , [] )
|
|
[ Str "info@example.com" ]
|
|
( "mailto:info@example.com" , "" )
|
|
]
|
|
]
|
|
]
|
|
^D
|
|
\st{\mbox{\href{https://example.com}{Example}}}
|
|
|
|
\st{\mbox{\url{https://example.com}}}
|
|
|
|
\st{\mbox{\href{mailto:info@example.com}{\nolinkurl{info@example.com}}}}
|
|
```
|