Skip to content

What can remark actually do / how to display videos in markdown? #557

Answered by ChristianMurphy
katerlouis asked this question in Q&A
Discussion options

You must be logged in to vote

found a plugin to teach markdown to display embed youtube videos

Sounds like: https://github.com/agentofuser/remark-oembed (which is in the list of plugins https://github.com/remarkjs/remark/blob/main/doc/plugins.md)

So it must be baked in already, right? But I find no information on how to display videos using remark.

It is not a part of markdown, commonmark, or gfm.
It can be added through a plugin/extension, but is not a part of the language.
directives https://github.com/remarkjs/remark-directive and JSX https://github.com/mdx-js/mdx are two common ways of extending the content types in markdown.

The CommonMark website itself also doesn't seem to offer documentation or examples o…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ChristianMurphy
Comment options

You must be logged in to vote
2 replies
@ChristianMurphy
Comment options

@wooorm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants