mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-20 22:46:06 +00:00
Markdown reader: check for tex macros after indented code.
Closes #1973.
This commit is contained in:
@@ -448,18 +448,18 @@ block = do
|
||||
res <- choice [ mempty <$ blanklines
|
||||
, codeBlockFenced
|
||||
, yamlMetaBlock
|
||||
, guardEnabled Ext_latex_macros *> (macro >>= return . return)
|
||||
-- note: bulletList needs to be before header because of
|
||||
-- the possibility of empty list items: -
|
||||
, bulletList
|
||||
, header
|
||||
, lhsCodeBlock
|
||||
, rawTeXBlock
|
||||
, divHtml
|
||||
, htmlBlock
|
||||
, table
|
||||
, lineBlock
|
||||
, codeBlockIndented
|
||||
, guardEnabled Ext_latex_macros *> (macro >>= return . return)
|
||||
, rawTeXBlock
|
||||
, lineBlock
|
||||
, blockQuote
|
||||
, hrule
|
||||
, orderedList
|
||||
|
||||
Reference in New Issue
Block a user