README.rst 602 B

123456789101112131415161718
  1. Pelican ``gist_directive`` plugin
  2. =================================
  3. This plugin adds a ``gist`` reStructuredText directive. Eg::
  4. .. gist:: ionelmc/eb11afbcca187bad5273 setup.py python
  5. It will download (with cache) and include the gist contents in the document.
  6. .. note::
  7. It also supports embedding content from github directly.
  8. Example, to include ``https://raw.githubusercontent.com/ionelmc/cookiecutter-pylibrary/master/%7B%7Bcookiecutter.repo_name%7D%7D/setup.py``::
  9. .. github:: ionelmc/cookiecutter-pylibrary master/{{cookiecutter.repo_name}}/setup.py