mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-29 01:41:20 +08:00
@@ -592,7 +592,7 @@ blockToMarkdown' opts (BlockQuote blocks) = do
|
||||
| variant == PlainText = " "
|
||||
| otherwise = "> "
|
||||
contents <- blockListToMarkdown opts blocks
|
||||
return $ prefixed leader contents <> blankline
|
||||
return $ text leader <> prefixed leader contents <> blankline
|
||||
blockToMarkdown' opts t@(Table (ident,_,_) blkCapt specs thead tbody tfoot) = do
|
||||
let (caption, aligns, widths, headers, rows) = toLegacyTable blkCapt specs thead tbody tfoot
|
||||
let numcols = maximum (length aligns :| length widths :
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
```
|
||||
% pandoc -f native -t markdown
|
||||
[ BulletList
|
||||
[ [ BlockQuote [ Para [ Str "a" ] , Para [ Str "b" ] ] ] ]
|
||||
]
|
||||
^D
|
||||
- > a
|
||||
>
|
||||
> b
|
||||
```
|
||||
Reference in New Issue
Block a user