CoffeeScript (JavaScript) maniaplanet style parser
View the Project on GitHub maniaplanet/maniaplanet-style-js-parser
JavaScript port of ManiaLib's PHP style parser.
It supports : $i, $o, $s, $w, $m, $g, $n, $<, $>, $l (for links like $l[http://maniaplanet.com]maniaplanet$l) and colors ($f20 for instance).
Please check the readme on the project's home on github.
In you web applications, include the script via : <script src="http://maniaplanet.github.io/maniaplanet-style-js-parser/bin/mp-style-parser.js"></script>
Then you can use it by doing : MPStyle.Parser.toHTML('$o foo $i bar');