How to copy rendered Markdown as rich text on Mac
If you paste raw Markdown into Google Docs, Apple Pages, Microsoft Word or Mail, you get literal ## headings, **stars** and pipe-delimited tables. Copying or exporting rendered Markdown as Rich Text keeps headings, lists, links and tables intact. Typeset.md (free, open source, macOS 26) does this directly from the reader and the File menu; on older macOS or from the terminal, pandoc or Marked cover the same job. Dee makes Typeset.md and wrote this guide.
Option 1: Copy or export Rich Text from Typeset.md (free, macOS 26)
- Open your
.mdfile in Typeset.md. - To grab a section, select the rendered text and copy — Typeset.md puts rich text on the clipboard so headings, bold text, links and lists paste cleanly into Pages, Word, Google Docs or email.
- To export the whole document, use File › Export as Rich Text (or press
⇧⌘Efor a clean PDF and⌘Pto print).
Because Typeset.md is sandboxed with no internet access and no cloud account, sensitive docs, client memos and engineering specs stay on your Mac.
Option 2: Convert Markdown to Rich Text in Terminal with pandoc (free, any macOS)
If you want a scriptable command-line route or run macOS 15 or older, combine pandoc with macOS’s built-in textutil and pbcopy:
pandoc notes.md -t html | textutil -stdin -format html -convert rtf -stdout | pbcopy
Then press ⌘V in Pages, Word, Apple Mail or Google Docs. You need Homebrew (brew install pandoc), and styling follows default system fonts rather than a typeset document stylesheet.
Option 3: Paid editors and previewers (Typora, Marked)
- Typora ($14.99 once) copies formatted HTML/rich text and exports to
.docxand PDF if you also want a full WYSIWYG Markdown editor. - Marked 3 ($69.99 once or $2.99/mo) exports RTF,
.docx, HTML and styled PDFs with custom CSS themes for long-form writers.
Which route to pick
- Pick Typeset.md if you are on macOS 26 and want one-click Rich Text copy/export and PDF export from a free, native reader.
- Pick pandoc + textutil if you automate exports in shell scripts or run an older version of macOS.
- Pick Typora or Marked if you need
.docxexport with custom Word templates or a full writing environment.
Updated 27 November 2026 · Written by Dee, maker of Typeset.md