mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-29 01:41:20 +08:00
@@ -299,7 +299,7 @@ blockToAsciiDoc opts (Div (ident,classes,_) bs) = do
|
||||
chomp admonitionBody $$
|
||||
"===="
|
||||
_ -> blockListToAsciiDoc opts bs
|
||||
return $ identifier $$ contents
|
||||
return $ identifier $$ contents $$ blankline
|
||||
|
||||
-- | Convert bullet list item (list of blocks) to asciidoc.
|
||||
bulletListItemToAsciiDoc :: PandocMonad m
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
```
|
||||
% pandoc -f org -t asciidoc
|
||||
* Header
|
||||
#+begin_tip
|
||||
I'm a tip
|
||||
#+end_tip
|
||||
|
||||
** Subheader
|
||||
^D
|
||||
== Header
|
||||
|
||||
[TIP]
|
||||
====
|
||||
I'm a tip
|
||||
====
|
||||
|
||||
=== Subheader
|
||||
```
|
||||
Reference in New Issue
Block a user