DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:gh

gh Plugin

Compatible with DokuWiki

  • 2020-07-29 "Hogfather" unknown
  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" unknown

plugin Embed files from a GitHub repository

Last updated on
2018-03-06
Provides
Syntax
Repository
Source

Similar to pycode, repo

Tagged with code, github, repository

Installation

Search and install the plugin using the Extension Manager. 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 on GitHub. 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: 2020-02-09 00:26 by Aleksandr