By the-focus-ai
macOS: convert GitHub-Flavored Markdown to rich HTML on the clipboard for Mail, Docs, Slack, and Word
Small macOS helper: feed it markdown, get rich text on the clipboard (headings, lists, tables, links) so you can paste into Mail, Slack, Google Docs, Word, and similar apps without reformatting by hand.
Typical flow: an LLM outputs markdown → you save or pipe it through mdcopy → paste into an email or doc and it looks like a normal formatted message, not fenced code or raw **bold** syntax.
Point a skill or tool at the raw LLM.txt in this repo so the model always gets install paths, input modes, and limitations in one file (no prose drift).
LLM.txtfocus-marketplace)This repository is also a Claude Code plugin (see .claude-plugin/plugin.json and skills/mdcopy/SKILL.md). After you add the Focus marketplace, install it with:
/plugin install mdcopy@focus-marketplace
That exposes the mdcopy skill and bundles bin/mdcopy under ${CLAUDE_PLUGIN_ROOT}. Registry entry: The-Focus-AI/claude-marketplace → plugin mdcopy → source repo The-Focus-AI/mdcopy.
swift + AppKit for the pasteboard)brew install pandocCopy or link the script somewhere on your PATH, for example:
chmod +x bin/mdcopy
ln -sf "$(pwd)/bin/mdcopy" ~/bin/mdcopy # if ~/bin is on your PATH
| Input | Command |
|---|---|
| A file | ./bin/mdcopy path/to/file.md |
| Stdin (e.g. LLM output) | cat draft.md | ./bin/mdcopy or pbpaste | ./bin/mdcopy |
| Clipboard as markdown | ./bin/mdcopy (no args, no stdin: reads current clipboard text) |
After it runs, use Paste in your target app. You should see “Rich text copied to clipboard” in the terminal.
Each code block is sample markdown you can copy into a file or pipe to ./bin/mdcopy. The image below it is Apple Mail after a rich paste from that same source.
Screenshots use HTML <img> with repo-relative src so they show inline in GitHub and in editor previews.
# Weekly update
**Shipped** the new onboarding flow. *Next week*: polish analytics.
## Action items
- Reply to design with timeline
- Book 30m with legal
- Send the draft **before Friday**
## Q1 snapshot
| Region | Status |
| ------ | -------- |
| US | On track |
| EU | At risk |
## Client note
> “We love the direction—let’s lock copy by **Tuesday** so we can ship.”
— PM, Acme Corp
## How to try the beta
1. Open the invite link
2. Sign in with your work email
3. Click **Start** on the home screen
## Docs
See the guide at [docs.example.com](https://docs.example.com).
Run `pnpm install` then `pnpm dev` locally.
See examples/rich-text-demo.md for sample tables, bullet and numbered lists (including nesting), blockquotes, code, and links. Try:
./bin/mdcopy examples/rich-text-demo.md
Then paste into Apple Mail or another rich-text client to confirm formatting.
The script converts GitHub-flavored markdown to HTML with light CSS (Apple system font, table borders, code styling), then puts HTML on the general pasteboard. Apps that accept HTML from the clipboard will render it; plain-text-only fields will fall back depending on the app.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub the-focus-ai/claude-marketplace --plugin mdcopyGenerate images and videos using Google Gemini and Veo models. Provides skills for AI image generation, image editing, text-to-video, and image-to-video workflows.
QuickBooks Online read-only access for Claude Code using OAuth 2.0
Buttondown newsletter management - create drafts, schedule emails, view analytics
Pocket Casts integration - access starred episodes, listening history, show notes, and podcast metadata
Claude Code skills for managing Hetzner servers, Cloudflare DNS, and Docker deployments
Rich text message drafts for Gmail, Outlook, and WhatsApp with formatting preview
Create beautiful HTML presentations from markdown specs using a Poimandres-themed template
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
Build and maintain an LLM-curated personal knowledge base in your project — Andrej Karpathy's LLM Wiki pattern, designed to scale to thousands of pages without becoming a context bottleneck. Now with an optional compiled graph layer for typed, provenance-backed relationships.
Connect to Atlassian products including Jira and Confluence. Search and create issues, access documentation, manage sprints, and integrate your development workflow with Atlassian's collaboration tools.
AI-powered wiki generator for code repositories. Generates comprehensive, Mermaid-rich documentation with dark-mode VitePress sites, onboarding guides, deep research, and source citations. Inspired by OpenDeepWiki and deepwiki-open.