User:DrOwl/wikiCode

add a code tag into wiki pages using some regex and the pre tag in a custom Mediawiki extension:

< = &amp;lt;

> = &amp;gt;

[ = &amp;#91;

] = &amp;#92;

its for displaying code and such like below, but with outthe messing about

this is a first untestedversion with justmonkey knolage of how to make it work

example Result
just the code form above displayed instead of "run" =)