If things look a little dusty around here, it's because I'm away on a mission for two years. I'll be back in August 2012, but in the mean time feel free to fork my projects on github.
Embed youtube videos in RestructuredText
Apr 30, 2010
by Jared

I write this blog almost exclusively in RestructuredText and I recently wanted to embed a youtube video on the Baby Tux project page. Fortunately someone's already done the work of making a directive, so you can just save the code here to youtube_rst.py and put

import youtube_rst

in the __init__.py of your django project. Using the directive is dead simple:

.. youtube:: 9ZWyv9icIfI

Cheers.

blog comments powered by Disqus