What the module do is to translate wiki syntax to html syntax. Sounds simple, eh? Well not for me! ;-)
It's not simple for anyone. Take a look at Parser.php and related files - it's a very complicated thing to do. Why are you trying to, anyway? Just use the built in parser.