Markdown reader: fenced div takes priority over setext header.
For ::: {.cell} --- :::
This commit is contained in:
parent
261ad9fb3d
commit
40865958ce
2 changed files with 11 additions and 2 deletions
|
@ -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
|
||||
|
|
9
test/command/setext-fenced-div.md
Normal file
9
test/command/setext-fenced-div.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
```
|
||||
% pandoc -t native
|
||||
::: {.cell}
|
||||
---
|
||||
:::
|
||||
^D
|
||||
[Div ("",["cell"],[])
|
||||
[HorizontalRule]]
|
||||
```
|
Loading…
Add table
Reference in a new issue