Rewrote from the ground up.

Now based off the PHP syntax highlighting instead of odd workarounds.
Tweaking the readme.