Center aligning code blocks for appium.io and added instructions in how-to-write-docs.md