Pelican plugin: embed oEmbed URLs (YouTube, Vimeo, Twitter, etc.) in Markdown content
Project description
pelican-oembed
A Pelican plugin that embeds oEmbed URLs (YouTube, Vimeo, Twitter/X, Spotify, etc.) directly in your Markdown content.
Bare URLs on their own line are replaced with embedded HTML using the Micawber oEmbed library, before Pelican post-processing runs.
Installation
pip install pelican-oembed
Then add to your Pelican pelicanconf.py:
PLUGINS = ["pelican.plugins.oembed"]
Usage
Place a bare URL on its own line in your Markdown content:
Check out this video:
https://www.youtube.com/watch?v=dQw4w9WgXcQ
More text here.
The URL will be replaced with the oEmbed HTML (an <iframe> for YouTube, etc.).
Supported Providers
- YouTube (
youtube.com,youtu.be) - Vimeo (
vimeo.com) - Twitter/X (
twitter.com,x.com) - Instagram (
instagram.com) - SoundCloud (
soundcloud.com) - Spotify (
open.spotify.com) - TikTok (
tiktok.com)
Contributing
See CONTRIBUTING.md.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pelican_oembed-1.0.4.tar.gz.
File metadata
- Download URL: pelican_oembed-1.0.4.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfdc83b2d15da68cc7996879747b1008274597500483247d1c24f0b5a453a521
|
|
| MD5 |
0c7799f84193063500b0991dabe3ba87
|
|
| BLAKE2b-256 |
1ed71243afead902d380e5e6b8f25ac850d57f92372c6f1668407e081ad749fd
|
Provenance
The following attestation bundles were made for pelican_oembed-1.0.4.tar.gz:
Publisher:
publish.yml on tclancy/pelican-oembed
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pelican_oembed-1.0.4.tar.gz -
Subject digest:
cfdc83b2d15da68cc7996879747b1008274597500483247d1c24f0b5a453a521 - Sigstore transparency entry: 1291722935
- Sigstore integration time:
-
Permalink:
tclancy/pelican-oembed@3d7146f220a0862656aff0a155e22f650481f86b -
Branch / Tag:
refs/tags/v1.0.4 - Owner: https://github.com/tclancy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3d7146f220a0862656aff0a155e22f650481f86b -
Trigger Event:
push
-
Statement type:
File details
Details for the file pelican_oembed-1.0.4-py3-none-any.whl.
File metadata
- Download URL: pelican_oembed-1.0.4-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b23ca0b328e80cbc54e7a7418b96a158d1757608611bd53e6463a25c174fc5a3
|
|
| MD5 |
fa0d636b7486f40a868a215e9d1a34fe
|
|
| BLAKE2b-256 |
15942336ed6cdc503604801e8bbf0fbad8e44dff8a0f07e8431db5f28d80abe6
|
Provenance
The following attestation bundles were made for pelican_oembed-1.0.4-py3-none-any.whl:
Publisher:
publish.yml on tclancy/pelican-oembed
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pelican_oembed-1.0.4-py3-none-any.whl -
Subject digest:
b23ca0b328e80cbc54e7a7418b96a158d1757608611bd53e6463a25c174fc5a3 - Sigstore transparency entry: 1291723122
- Sigstore integration time:
-
Permalink:
tclancy/pelican-oembed@3d7146f220a0862656aff0a155e22f650481f86b -
Branch / Tag:
refs/tags/v1.0.4 - Owner: https://github.com/tclancy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3d7146f220a0862656aff0a155e22f650481f86b -
Trigger Event:
push
-
Statement type: