changes to generator and css tweaks

added support for multiple example blocks, improved html output.