The doc generator currently has the use of ! as prefix hardcoded, despite being incorrect for Attributes. These start with #.
This patch fixes that little issue by using # for AttrDefs and ! for TypeDefs in Syntax field of the generated Markdown file