PasteMD converts clipboard Markdown or AI chat HTML through Pandoc into Word, WPS, or Excel with hotkeys, table detection, LaTeX fixes, and per-app workflows.
Overview
PasteMD is a tray utility that reads Markdown or rich HTML from the clipboard and inserts formatted content into Word, WPS, or Excel. It targets workflows where copying AI answers or Markdown into office documents loses formulas, tables, or styling.
A global hotkey (default Ctrl+Shift+B) triggers conversion via Pandoc into DOCX or direct Excel paste for detected Markdown tables. The app recognizes foreground Word, WPS, or Excel windows, can open missing apps, and supports HTML pasted from ChatGPT, DeepSeek, and other assistants.
Configuration in a JSON file controls hotkeys, Pandoc paths, filters, per-application extension workflows, notifications, and language. Installers bundle Pandoc on Windows, and the project documents compatibility tables for major AI sites.
Optional Pandoc filters extend conversions—for example Mermaid diagrams—through user-supplied Lua or command filters.
Key features
- Hotkey clipboard to Word or WPS
- Markdown table paste into Excel
- HTML from AI chats supported
- Pandoc-based DOCX conversion
- Per-app extension workflows
- LaTeX and formula repair options
- Tray menu and config reload
- Bundled Pandoc installer on Windows
Use cases
- Pasting AI answers into reports
- Moving Markdown notes into Word
- Spreadsheet-ready table pastes
- Custom Pandoc filter pipelines