File: highlightcode.mdwn

package info (click to toggle)
ikiwiki 3.20190228-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 20,904 kB
  • sloc: perl: 31,100; python: 428; sh: 185; makefile: 120
file content (10 lines) | stat: -rw-r--r-- 590 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
[[!template id=plugin name=highlightcode author="[[sabr]]"]]
[[!tag type/format]]

(An alternative to this plugin, [[plugins/highlight]], is now provided with IkiWiki. --[[smcv]])

A small plugin to allow Ikiwiki to display source files complete with syntax highlighting. Files with recognized extensions (i.e. my-file.cpp) are be rendered just like any other Ikiwiki page. You can even edit your source files with Ikiwiki's editor.

It uses the Syntax::Highlight::Engine::Kate Perl module to do the highlighting.

It can be found at: <http://iki.u32.net/Highlight_Code_Plugin>  --[[sabr]]