Add colored syntax to snippets in README.

Add colored syntax to readme snippets and add "~1.0" as package version.