Hi, pandoc markdown renderer imcompletely in rendering markdown file.
Ytinifni-zc opened this issue · 6 comments
Thank you for the plugin of hexo pandoc.
I found in my blog, renderer not works well in especially the list of md files. For example, when I write "1. ... 2. ... 3. ..." or "- ... - ..." in md files, renderer give me an ordinary result in html instead of element such as "<li></li>".
Here is my blog : http://blog.ytinifni.net/
It shouldn't happen. Have you write such contents in multiple lines?
I see. You should leave an empty line before list. e.g.
数据仓库的几个挑战:
1. XXX
2. XXX
3. XXX
Seems there are a little differences of pandoc and markdown.
Thank you very much!
The original markdown requires that too.
It's a good practice to separate different blocks with empty line.
Yes, indeed. Pandoc is strict about that. Before list
, table
and quotation
, you must leave out a blank line. Or the generated html will not be what you want.