mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-30 17:59:17 +08:00
@@ -405,6 +405,8 @@ withIntraword p = setIntraword True *> p <* setIntraword False
|
||||
|
||||
-- | Convert Pandoc inline element to asciidoc.
|
||||
inlineToAsciiDoc :: PandocMonad m => WriterOptions -> Inline -> ADW m Doc
|
||||
inlineToAsciiDoc opts (Emph [Strong xs]) =
|
||||
inlineToAsciiDoc opts (Strong [Emph xs]) -- see #5565
|
||||
inlineToAsciiDoc opts (Emph lst) = do
|
||||
contents <- inlineListToAsciiDoc opts lst
|
||||
isIntraword <- gets intraword
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
```
|
||||
% pandoc -t asciidoc
|
||||
***hi***
|
||||
^D
|
||||
*_hi_*
|
||||
```
|
||||
Reference in New Issue
Block a user