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 [[module|WeakWiki module]] that uses the **generic syntax highlighter** ([[http://qbnz.com/highlighter/|GeSHi]]) to provide **syntax highlighting** for **WeakWiki**.


<<@toc>>


== Overview ==
----

[[[@w
|@t0@r0@c0 module name: | geshism |
| location: | ./modules/geshism |
| tags: | **~[~[~[@C:**... |
| | **~]~]~]** |
| download: | installed |
]]]


== Module ==
----

[[http://qbnz.com/highlighter/|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:

[[http://bitbucket.org/robbiblubber/weakwiki/downloads/geshism.zip|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:
[[[@cG
~[~[~[@C:PHP
function info()
{
phpinfo();
}
~]~]~]
]]]

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


== Installation ==

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

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

[[[@cG
...
require_once('./modules/geshism/geshism.module.php');

...

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




----
[[modules]] | [[list of modules]]