forked from varia/varia.website
many many many Varia's websites, work in progress: https://many.vvvvvvaria.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
602 B
18 lines
602 B
7 years ago
|
Pelican ``gist_directive`` plugin
|
||
|
=================================
|
||
|
|
||
|
This plugin adds a ``gist`` reStructuredText directive. Eg::
|
||
|
|
||
|
.. gist:: ionelmc/eb11afbcca187bad5273 setup.py python
|
||
|
|
||
|
It will download (with cache) and include the gist contents in the document.
|
||
|
|
||
|
.. note::
|
||
|
|
||
|
It also supports embedding content from github directly.
|
||
|
|
||
|
Example, to include ``https://raw.githubusercontent.com/ionelmc/cookiecutter-pylibrary/master/%7B%7Bcookiecutter.repo_name%7D%7D/setup.py``::
|
||
|
|
||
|
.. github:: ionelmc/cookiecutter-pylibrary master/{{cookiecutter.repo_name}}/setup.py
|
||
|
|
||
|
|