Improved Markdown rendering with options