DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:gh

gh Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" unknown
  • 2023-04-04 "Jack Jackrum" yes
  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" unknown

plugin Embed files from a GitHub repository

Last updated on
2022-11-27
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: 2023-12-30 22:36 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