art 解决pandoc转换markdown为html文件不换行问题

来源:互联网 发布:风险评价矩阵法 编辑:程序博客网 时间:2024/05/18 01:54

out

双回车换段落

in

alg

cat 1.md

#1##1-1111##1-2222

pandoc --toc -s 1.md -o 1.html
这样写会出现不换行的情况,text与##1-2连在一起

cat 2.md

#1##1-1111##1-2222

pandoc --toc -s 2.md -o 2.html
这样写正确的

0 0