DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:gh

gh Plugin

Compatible with DokuWiki

ponder stibbons

plugin Embed files from a github repository

Last updated on
2017-10-07
Provides
Syntax
Repository
Source

Tagged with github

Installation

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Examples/Usage

{{gh>https://github.com/splitbrain/dokuwiki-plugin-gh/blob/master/syntax.php 5-10}}

Above syntax embeds lines 5 to 10 of the syntax.php file from this plugin's repository. You can leave out the line numbers to embed the whole file.

Syntax highlighting is done according to the file's extension.

plugin/gh.txt · Last modified: 2017-10-07 23:50 by andi