Change example blocks to source blocks in README.

[skip ci]