From 4449b17a890bb4ac41ea13d532a08dd15b543719 Mon Sep 17 00:00:00 2001 From: Kura Date: Mon, 8 Jul 2013 15:14:58 +0100 Subject: [PATCH] Added documentation about Vimeo and YouTube directives --- docs/getting_started.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/getting_started.rst b/docs/getting_started.rst index 383acdc4..39007b8e 100644 --- a/docs/getting_started.rst +++ b/docs/getting_started.rst @@ -390,6 +390,23 @@ following to ``pelicanconf.py``:: And then the ``pdfs`` directory would also be copied to ``output/static/``. +Adding videos from YouTube or Vimeo to your content +--------------------------------------------------- + +You can easily embed videos from YouTube or Vimeo using the relevant directives, +each directive requires a video ID and you can optionally specify a width, height +and alignment:: + + .. youtube:: VIDEO_ID + :width: 640 + :height: 480 + :align: center + + .. vimeo:: VIDEO_ID + :width: 640 + :height: 480 + :align: center + Importing an existing blog --------------------------