Markdown reader: fenced div takes priority over setext header.

For

    ::: {.cell}
    ---
    :::
This commit is contained in:
John MacFarlane 2019-03-28 17:39:22 -07:00
parent 261ad9fb3d
commit 40865958ce
2 changed files with 11 additions and 2 deletions

View file

@ -489,10 +489,10 @@ block = do
-- note: bulletList needs to be before header because of
-- the possibility of empty list items: -
, bulletList
, header
, lhsCodeBlock
, divHtml
, divFenced
, header
, lhsCodeBlock
, htmlBlock
, table
, codeBlockIndented

View file

@ -0,0 +1,9 @@
```
% pandoc -t native
::: {.cell}
---
:::
^D
[Div ("",["cell"],[])
[HorizontalRule]]
```