Markdown conversions and cleanups