Fix formatting issues and inconsistencies

* Specify language in code blocks
* Use nicer markdown syntax
* Added missing semicolons to code samples
* Fixed inconsistent code style in code samples
* Fix broken links
same with `[syn]`