allow display.mode to be provided for examples
Merge pull request #388 from rstudio/feature/example-display-mode

Allow display.mode to be provided for examples