且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在保留非降价HTML标签的同时将HTML转换为Markdown?

更新时间:2023-02-23 14:08:52

经过更多搜索后,我在

After a bit more searching, I read about the --parse-raw option in a thread on table parsing.

添加--parse-raw选项似乎并不会剥离非降价等效的HTML标签.

Adding the --parse-raw option seemed to not strip the non-markdown equivalent HTML tags.

pandoc test.html -o test.md --parse-raw