Cleaned up markdown-to-rtf snippet