From 3dd63a012e2885fdc3e1de3d63ebe57b0179e568 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Fri, 8 Jun 2012 11:23:18 +0200 Subject: [PATCH] Thanks the author of the youtube directive. --- pelican/rstdirectives.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pelican/rstdirectives.py b/pelican/rstdirectives.py index cb9c6f77..9c821310 100644 --- a/pelican/rstdirectives.py +++ b/pelican/rstdirectives.py @@ -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.