allow (and discard) optional argument for \caption
This commit is contained in:
parent
e78db3caf6
commit
abbf33ae7d
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ blockCommands = M.fromList $
|
|||
, ("item", skipopts *> loose_item)
|
||||
, ("documentclass", skipopts *> braced *> preamble)
|
||||
, ("centerline", (para . trimInlines) <$> (skipopts *> tok))
|
||||
, ("caption", tok >>= setCaption)
|
||||
, ("caption", skipopts *> tok >>= setCaption)
|
||||
, ("PandocStartInclude", startInclude)
|
||||
, ("PandocEndInclude", endInclude)
|
||||
, ("bibliography", mempty <$ (skipopts *> braced >>=
|
||||
|
|
Loading…
Add table
Reference in a new issue