markdown-it-html5-media
markdown-it-html5-media copied to clipboard
Minimalist <video>/<audio> plugin for markdown-it, using image syntax
This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of...
It would be practical and time efficient if videos could be started at some time defined as parameters given to the markdown. ideas to implement it ``` ; ^ TypeError: plugin.apply is not a...
Is it possible to add captioning to the HTML media elements? HTML has the [`` ](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track) element to accommodate this, which you can add as a child element to ``...
Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8. Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long option followed by single dash [#17](https://github.com/minimistjs/minimist/issues/17) [Tests] Remove duplicate test [#12](https://github.com/minimistjs/minimist/issues/12) [Fix]...
Bumps [json5](https://github.com/json5/json5) from 2.1.3 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...
Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.7.2 to 1.7.3. Changelog Sourced from shell-quote's changelog. 1.7.3 Fix a security issue where the regex for windows drive letters allowed some shell meta-characters to escape the...
~~~~ js function guessMediaType(url) { const extensionMatch = url.match(/\.([^/.]+)$/); if (extensionMatch === null) return 'image'; const extension = extensionMatch[1]; // ... } ~~~~ That means the plugin is currently looking...