Markdown formatting fixes in grammar spec

Markdown formatting fixes for less than and greater than signs. Some symbols were missing because of the use of `<` and `>` in the html sections.