Videos are not exported with <video> tag

luc_j_bourhis's Avatar


05 Dec, 2018 11:46 AM

The following Markdown

![Slicing with no tilt](slicing-tilt-0.mp4)

get exported as

<img src="slicing-tilt-0.mp4" alt="Slicing with no tilt">
<figcaption>Slicing with no tilt</figcaption>

whereas I would liked it to be exported with the HTML5 tag <video>

<video autoplay muted>
<source src="slicing-tilt-0.mp4" type="video/mp4">
<figcaption>Slicing with no tilt</figcaption>

Now, I realise that autoplay muted might not be what somebody else wants. Let the user choose in preferences?

  1. Support Staff 1 Posted by Brett on 05 Dec, 2018 06:59 PM

    Brett's Avatar

    Video tags aren't part of Markdown. The syntax you're using will always
    result in an img tag. The only way to get what you're looking for is to
    manually add the HTML (which would need to include the figure markup as
    that won't be automatically generated), or to use a custom processor
    that does a search and replace for image tags with video source urls.


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


? 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