Summary: Markup to allow easy embedding of syntax-highlighted github gists
Prerequisites: pmwiki-2.2.52 (tested; some earlier versions okay, but not tested)
Questions answered by this recipe
How can I easily display github-hosted gists on my website, in standard github-markup?
Enter your recipe's description here.
- Download pmwiki-gists.zipΔ
pmwiki-gists.php to your
You can also download the latest version of pmwiki-gists.php from GitHub.
Add the following to
See http://www.xradiograph.com/PmWikiDevelopment/PmWikiGistsExamples for a complete, live list of examples.
Change log / Release notes
- 2013.09.03 fixed conflict with MarkupExtensions or other markup (Keep() instead of return)
- 2013.09.01 other forms of markup implemented, trap for missing or non-numeric gist-id
- 2013.08.27 initial release, Loading a gist implemented
See discussion at Gists-Talk?
User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.