Fixed syntax errors that were not caught on the github preview

Mainly fenced code block completion