Improved railroad diagrams

Removed background color and added them to <pre> blocks