Skip to content

Pelican Plugin to embed gist in your pages/articles written in reStructuredText syntax.

License

Notifications You must be signed in to change notification settings

siongui/pelican-gist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Pelican Gist

Pelican Plugin to embed gist in your pages/articles written in reStructuredText syntax.

Installation

Follow the instructions in official Pelican documentation.

Usage

Use the following directive in your pages/articles written in reStructuredText syntax:

.. gist:: GIST_ID GITHUB_USERNAME

The generated html webpage corresponding to above directive will be:

<script src="https://gist.github.com/{{ GITHUB_USERNAME }}/{{ GIST_ID }}.js"></script>

which will show the gist on your webpage.

Misc

This plugin is released in public domain. See UNLICENSE.

References

  1. Pelican YouTube embed reStructuredText directive.
  2. Writing a Vimeo and YouTube plugin for Pelican

About

Pelican Plugin to embed gist in your pages/articles written in reStructuredText syntax.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages