pymarkdown-video
Extension for python-markdown, that will convert markdown picture that are vide
file into the HTML5 video tag instead of the img tag.
Example

will be rendered as
<p>
<video alt="Big Buck Bunny" controls="controls" title="Vidéo de Big Buck Bunny">
Your browser does not handle the video <a href="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4">http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4</a>
<source src="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" type="video/mp4"></source>
</video>
</p>
Usage
pip install pymarkdown-video
from markdown import Markdown
text = ''
md = Markdown(extensions=['pymarkdown-video'])
print(md.convert(text))
You can also use it with MkDocs.
After installing the package with pip, in your mkdocs.yml, add:
markdown_extensions:
- pymarkdown-video
Metadata
Release files for pymarkdown-video 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pymarkdown-video-1.1.0.tar.gz | 3.2 kB | Without provenance | Details for pymarkdown-video-1.1.0.tar.gz |
Release files / pymarkdown-video-1.1.0.tar.gz
| Download URL | pymarkdown-video-1.1.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc14a485407ef8fd22f76d789066d2e9cf79c74d05b7f6831d6c102b10a39039
|
|
BLAKE2b-256 checksum How to use checksums |
d9ca0b498cd32568482719de2efe3a469e8db4477aa64d191a5d16d1ed7e9039
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.14
|
Security for pymarkdown-video 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.