Skip to content

HTML in markdown #22

@volodalexey

Description

@volodalexey

Sometimes it is not enough makrdown features. E.g. I need to insert <video> in markdown that will be server from public folder.
And inserting html directly is valid for GitHub or VisuaStudio Code (preview)
I want to have /src/views/some/some.md.zmpl:

# Some cool movie title

## Subheader

<video width="320" height="240" controls>
  <source src="./robocop_parking.mp4" type="video/mp4">
</video>

Above works in GitHub or VisuaStudio Code but does not work in zmpl.
Is this implemented/supported?

I got following in browser response:

<p class='p-3'>&lt;video width="320" height="240" controls&gt;</p><p class='p-3'>  &lt;source src="./robocop_parking.mp4" type="video/mp4"&gt;</p><p class='p-3'>&lt;/video&gt;</p>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions