Allow display.mode to be provided for examples

Implementing a suggestion from @garrettgman: for training purposes, it's useful to show examples in normal mode, which is currently difficult.