Add YAML syntax highlighting in docs

Also added JSON and tweaked properties settings.

Fixes gh-511