embed video in markdown with vitepress
See original GitHub issueIs your feature request related to a problem? Please describe.
I’ve embed a video in my markdown by search the help of Typora. It works fine in Typora. It is like this in my markdown:
<video controls="controls" src="在家办公指南.assets\Video_2020-02-23_230241.mp4" />
It works fine with the localhost via the command yarn docs:dev
but when yarn docs:build
, I got an error.
How can I do?
Describe the solution you’d like
Support the video control.
I set up the site in LAN and won’t expose to the WAN, the storage is no problem.
Describe alternatives you’ve considered
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the docs.
- Read the Contributing Guidelines.
- Check that there isn’t already an issue that asks for the same feature to avoid creating a duplicate.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Embedded HTML5 Video from Markdown Image Link ... - GitHub
Optional image link video suffix detection and HTML5 video embedding with markdown-it-html5-embed. What problem does this feature solve? It ...
Read more >Markdown Extensions - VitePress
VitePress comes with built in Markdown Extensions. Header Anchors #. Headers automatically get anchor links applied. Rendering of anchors can be ...
Read more >Vuepress: How to embed video in markdown - Hanxue and IT
When I was updating the Wujiquan website, I wanted to embed videos into the content. While it is possible to add html tags...
Read more >Write Beautiful Documentation Quickly with VitePress
In our markdown files, we have three ways of linking to routes. We can either use the base url, add .md or .html...
Read more >Is there anyway to embed javascript into vitepress markdown ...
Is there a way to embed a script from external src as well as local script into vitepress markdown for it to be...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you for reply me, I will try the
./
later. However, I don’t want to place the video to public dir because I hope the attachment of the markdown will be in the same place with md file.Now it’s work fine with this:
Thank you for your help.