Chemical Markup support for Wikimedia Commons/Internship Report/Stylize

You are a sloppy or lazy boy like me? Here is what I use to comply with MediaWiki's coding conventions:

Instructions for OpenSUSE.

JavaScript
Open a "sudo termal" and run

Create your configuration file with the following contents. I call it :

And beautify!

PHP
to come

As a git pre-commit hook
If you are extremely sloppy about whitespace and you are not working too much with third party code (i.e. all the code is written by you), consider a pre-commit hook in your repo. It will run over all the files with amendments (and its purpose is to check for coding convention violations -- but you can use it for automated beautifying as well) before they are "committed".

more to come...