WeakWiki Version 0.17

help | login | search:  
<<

Home Page
Index

Download
Sandbox

Manual

Features
Syntax

Requirements
Installation Guide

Modules
Customization

Project Sources
Documentation
Issues

Version History

Contact

News
Wiki Help


robbiblubber.org














read  source  history 

geshism



geshism is a WeakWiki module that uses the generic syntax highlighter (GeSHi) to provide syntax highlighting for WeakWiki.


geshism
Overview
Module
Tags
Installation



Overview



module name: geshism
location: ./modules/geshism
tags: [[[@C:...
]]]
download: installed


Module



GeSHi offers syntax highlighting for a vast number of languages. Only a view language files have been included in the standard package. You may download the complete geshism package from the development site:

geshism full package download.


Tags



geshism offers an enhanced code box with syntax highlighting. Use the [[[@C://language and ]]] tags to mark higlighted code.

language// specified the language used in code.


example:
[[[@C:PHP
function info()
{
phpinfo();
}
]]]

looks like:
function info()
{
phpinfo();
}


Installation


Module files must be available in ./modules/geshism/.

./config/modules.config.php must be edited:

...
require_once('./modules/geshism/geshism.module.php');

...

$GLOBALS['mod_load'] = Array(
...
new GeSHiSupportModule(),
...
);
...





modules | list of modules