Compatible with DokuWiki
Similar to dokugitviewer, pycode, repo
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
{{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.