Вопрос

I want to convert an HTML file containing base64 encoded images to DOCX. When I do this using pandoc the base64 images are not converted.

Is it possible to include the base64 images using pandoc?

Это было полезно?

Решение

See https://pandoc.org/MANUAL.html#option--self-contained

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

This feature was unavailable due to a bug, but has been fixed since May, 2014.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top