Add emphasis plus numerous tweaks

This commit makes it usable to generate Markdown and man pages.