Summary: Markup to allow easy embedding of github gists
Version: 2013.09.03
Prerequisites: pmwiki-2.2.52 (tested; some earlier versions okay, but not tested)
Status: active
Maintainer: MichaelPaulukonis
Categories: Includes Programming GitHub Layout
Users: (view? / edit)
Discussion: PmWikiGists-Talk?
How can I easily display github-hosted gists on my website, in standard github-markup?
Easily display github-hosted gists on your pmwiki-based website, with all the javascript and css bells-n-whistles attached.
Required resources will only be loaded into the page if the markup is present.
pmwiki-gists.latest.php
to your \cookbook
directory.
You can also download the latest version of pmwiki-gists.php from GitHub.
Add the following to \local\config.php
include_once("$FarmD\cookbook\pmwiki-gists.php");
(:gist <public-gist-id>:)
See http://www.xradiograph.com/PmWikiDevelopment/PmWikiGistsExamples for a complete, live list of examples.
See discussion at PmWikiGists-Talk?