Update part examples in README to be in code blocks.

This preserves formatting and makes them easier to read.