How can I export images with docx?

marked2's Avatar

marked2

24 Aug, 2019 05:28 PM

I have a markdown document that includes SVGs.

The output in Marked2 (debug window) looks like this:

<span class="smallicon"><img src="file:///Users/Secret/themes/custom/emoji/1f197.svg?v=108776" alt="OK"></span>

When I export to HTML or PDF, the SVG images are preserved correctly.

But when I export to Word, the SVG images are not included.

I need the SVG images in Word because I want to upload my document for editing in Google Docs, which does not support editing PDF and ignores the SVGs in HTML.

  1. Support Staff 1 Posted by Brett on 24 Aug, 2019 06:46 PM

    Brett's Avatar

    The DOCX export cannot currently handle images. RTFD is the only rich
    text option that can embed images right now. Not sure if GDocs handles
    RTF import or not.

    -Brett

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac