LaTeX reader: include contents of \parbox.

This commit is contained in:
John MacFarlane
2017-02-14 23:12:46 +01:00
parent a58112f6bc
commit c44a3f61c2
+1
View File
@@ -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")))