Use LaTeX ligatures (e.g. ``, —, ...).
Define header and neutral colours globally.
A compromise scaling for monospace fonts.

This looks ok either inline or standalone. Not brilliant, but ok.
Allow fancy colour names.
Add template for a lab handout.