Added documentation on markdown markup in comments (closes #326).
Added documentation for menu/dropdown formats.
Added TOC to the general preferences page.