mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-21 05:43:39 +08:00
LaTeX reader: include contents of \parbox.
This commit is contained in:
@@ -327,6 +327,7 @@ ignoreBlocks name = (name, p)
|
||||
blockCommands :: PandocMonad m => M.Map String (LP m Blocks)
|
||||
blockCommands = M.fromList $
|
||||
[ ("par", mempty <$ skipopts)
|
||||
, ("parbox", braced >> grouped blocks)
|
||||
, ("title", mempty <$ (skipopts *>
|
||||
(grouped inline >>= addMeta "title")
|
||||
<|> (grouped block >>= addMeta "title")))
|
||||
|
||||
Reference in New Issue
Block a user