Updated formatting for code snippets to show line break in on github

Changes the formatting for the code snippets to be shown as code examples.

The will also so the line breaks that will allow for copying and pasting all the examples into a terminal.

**Example**

  from this

    To this