improved docs code block formatting
Merge pull request #1030 from crate/h/docs-formatting

improved docs code block formatting