mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-21 06:55:46 +00:00
@@ -271,7 +271,9 @@ ignoreBlocks name = (name, doraw <|> (mempty <$ optargs))
|
||||
blockCommands :: M.Map String (LP Blocks)
|
||||
blockCommands = M.fromList $
|
||||
[ ("par", mempty <$ skipopts)
|
||||
, ("title", mempty <$ (skipopts *> tok >>= addMeta "title"))
|
||||
, ("title", mempty <$ (skipopts *>
|
||||
(grouped inline >>= addMeta "title")
|
||||
<|> (grouped block >>= addMeta "title")))
|
||||
, ("subtitle", mempty <$ (skipopts *> tok >>= addMeta "subtitle"))
|
||||
, ("author", mempty <$ (skipopts *> authors))
|
||||
-- -- in letter class, temp. store address & sig as title, author
|
||||
|
||||
Reference in New Issue
Block a user