Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.12 KB

README.md

File metadata and controls

27 lines (19 loc) · 1.12 KB

lektor-youtube-embed

Run tests codecov PyPI Version License Python Compatibility Code style: black

Lektor template filter to convert youtube links to embeds

Installation

pip install lektor-youtube-embed

Usage

{{ "https://www.youtube.com/watch?v=9Yk9iRDESDo" | youtube }}
{{ "https://youtu.be/BdXDT-5jci0" | youtube(width=640, height=480, attrs={'class': 'video'}) }}