1.0.2 • Published 1 year ago
video-embed-remark v1.0.2
Video Embed Remark
Install this module in your project.
To embed video in your markdown, use this syntax:
`youtube:https://www.youtube.com/watch?v=TGaG0-r1x1M`
To add this to your react component, install react-markdown and rehype-raw.
<ReactMarkdown
remarkPlugins={[videoEmbed]}
rehypePlugins={[rehypeRaw]}
/>