include HTML generated by word

Etienne Beaudry-Auger's Avatar

Etienne Beaudry-Auger

24 Jul, 2018 09:53 PM


I push marked2 with the html include syntaxe. I use the html export from docx document to html via MS Word Version 16.16 (180709)

marked2 crash immediatly.

I use this syntax:


See the zip file for testing

  1. Support Staff 1 Posted by Brett on 25 Jul, 2018 04:40 PM

    Brett's Avatar

    Among other issues, that HTML document that Word created:

    1. Is full of invalid non-breaking space characters
    2. Contains invalid comment tags within a style tag
    3. Uses a lot of proprietary tags
    4. Is a full document with a head and body, which you're now inserting into another body tag in an already complete document.

    If you load this HTML file directly, you'll be fine, but including it in a Markdown document is going to trigger parsing of that file in a way that's bound to be problematic.

Reply to this discussion

Internal reply

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

Attaching KB article:


Already uploaded files

  • 42.6 KB

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


? 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