Examine the existing HTML and PDF export implementations in the MacDown source code. Look for a common export interface or pattern that can be extended for RTF. Check if there are any libraries or system frameworks (e.g., Cocoa's NSAttributedString) that can simplify RTF generation. The issue has no comments or linked PRs, so the implementation approach is open.