DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:gh

gh Plugin

Compatible with DokuWiki

  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" unknown
  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" unknown

plugin Embed files from a GitHub repository

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

Similar to dokugitviewer, 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

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki