This page contains details on the local customisations on this site.
Bookmarklet Support
This system allows you to create an easy-to-add-to bookmark page. People with personal pages on here are welcome to use this. Simply create a page and add (:addlink:) to it.
For more info: http://www.pmwiki.org/wiki/Cookbook/AddLinkBookmarklet
Source code highlighting
Allow source code to be pasted in and automatically look colourful. For example, if you enter:
=perl [=#!/usr/bin/perl if (1==1) { print "This is Perl code"; }=]
it will show as:
#!/usr/bin/perl if (1==1) { print "This is Perl code"; }
There is support for C++, JavaScript, PHP, Python, XML and Perl. Use the lowercase form of the name for all of them except C++, which is cpp
.
BibTeX support
For info: http://www.pmwiki.org/wiki/Cookbook-V1/BibtexRef
Table of Contents
By using the (:toc:) command, a table of contents can be automatically generated based on the headers of a page.
There is a lot of things that can change how this is displayed. The most useful will be:
(:toc A Title For The Contents Page:)
More options can be found on the cookbook page
This page may have a more recent version on pmwiki.org: PmWiki:KallistiCustom, and a talk page: PmWiki:KallistiCustom-Talk.