format tweaks for display code
changed markup for examples in book