可以在包含base64内联图像的HTML中使用pandoc吗?

时间:2013-11-18 22:42:59

标签: base64 pandoc

我想将包含base64编码图像的HTML文件转换为DOCX。 当我使用pandoc执行此操作时,不会转换base64图像。

是否可以使用pandoc包含base64图像?

1 个答案:

答案 0 :(得分:7)

请参阅https://pandoc.org/MANUAL.html#option--self-contained

pandoc --self-contained --metadata pagetitle="title" index.md -o index-out.html

此功能因bug而无法使用,但自2014年5月起已修复。