Wikka Markup Highlighting


I think it would be of great help if we could use a specific GeSHi formatter to highlight Wikka markup and hence create code blocks to display Wikka source code. A Wikka language definition for GeSHi should, basically, highlight the different kinds of Wikka markup (for instance //,**,##,%%, etc.), links, actions and action parameters.
Has anyone played with GeSHi language definitions to see how this might be done?

For example, the following code:

%%(wikka)
=== This is a header ===
This is **bold** and this is //italic//.
This is a [[forced | link]] while this is CamelCase.
Here is an {{action param="1"}}
---
%%

would produce something like (not a real example, specific highlighting conventions should be decided):

=== This is a header ===

This is **bold** and this is //italic//.
This is a [[forced | link]] while this is CamelCase.
Here is an {{action param="1"}}
---


Once we have consistent naming rules for Wikka documentation pages, this formatter might also support clickable markup.



CategoryDevelopmentFormatters CategoryDevelopment3rdParty CategoryLayout
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki