You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ pandoc -v
pandoc 2.1.3
Compiled with pandoc-types 1.17.4.2, texmath 0.10.1.1, skylighting 0.7.0.2
Default user data directory: /home/zash/.pandoc
Copyright (C) 2006-2018 John MacFarlane
Web: http://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.
The text was updated successfully, but these errors were encountered:
This is because the table parser expects a blank line after the table.
We could fix this in the reader by using a special new parser instead of blanklines. The new parser would be sensitive to the possibility that we're in a fenced div, and look ahead for the closing fence.
Alternatively, we could modify the writer to include a blank line in this context. But I think modifying the reader would make more sense.
I solved this in Muse reader by passing terminator parser to functions that parse block series. Div parser calls block series parser with terminator parser that expects </div>, list parser uses terminator parser that expects unindented line etc.
Contents of
test.html
:pandoc test.html -t markdown
gives:::: {.foobar} Foo ----- Bar :::
pandoc test.html -t markdown | pandoc
gives:The text was updated successfully, but these errors were encountered: