docs: fix examples, style optionals
Merge pull request #229 from stephenplusplus/fix-docs

docs: fix examples, style optionals