mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Thanks the author of the youtube directive.
This commit is contained in:
parent
46daadc137
commit
3dd63a012e
1 changed files with 2 additions and 0 deletions
|
|
@ -41,6 +41,8 @@ directives.register_directive('sourcecode', Pygments)
|
|||
class YouTube(Directive):
|
||||
""" Embed YouTube video in posts.
|
||||
|
||||
Courtesy of Brian Hsu: https://gist.github.com/1422773
|
||||
|
||||
VIDEO_ID is required, with / height are optional integer,
|
||||
and align could be left / center / right.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue