From xradiograph

PmWikiDevelopment: PmWiki Gists

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?

Questions answered by this recipe

 

How can I easily display github-hosted gists on my website, in standard github-markup?

 

 

Description

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.

 

 

Installation

 

  1. Download pmwiki-gists.zip
  2. Extract pmwiki-gists.latest.php to your \cookbook directory.

 

You can also download the latest version of pmwiki-gists.php from GitHub.

 

 

Configuration

Add the following to \local\config.php

 

include_once("$FarmD\cookbook\pmwiki-gists.php");

 

 

Usage

 

(:gist <public-gist-id>:)

 

 

 

See http://www.xradiograph.com/PmWikiDevelopment/PmWikiGistsExamples for a complete, live list of examples.

 

 

Notes

 

 

Change log / Release notes

 

 

See also

 

 

Contributors

MichaelPaulukonis

 

Comments

See discussion at PmWikiGists-Talk?

 

 

Alternatives

SourceBlock?

 

 

Retrieved from http://xradiograph.com/PmWikiDevelopment/PmWikiGists
Page last modified on March 31, 2015, at 11:21 AM