Using regular expressions to hack our way towards AMDfication

And tweaks to our code styles
I think you can use only one __\`__ on each end for inline code.