MDEverywhere is an ESM-first Markdown conversion library with a small browser demo. It converts Markdown into platform-friendly text for WhatsApp, Slack, Discord, Telegram, Notion, GitHub, LinkedIn, plain text, and HTML.
src/contains the publishable ESM librarydemo/contains the static browser demo used for local preview and GitHub Pagestest/contains the automated test suite- Root config files handle linting, tests, packaging, and workflows
pnpm install
pnpm devOpen http://localhost:8000/demo/.
On GitHub Pages, the demo is served from /demo/.
import { convertMarkdown, convertToSlack } from "@sunanmau5/mdeverywhere";
const markdown = "# Release Notes\n\n**Done** and _ready_.";
convertMarkdown(markdown, "whatsapp");
convertToSlack(markdown);@sunanmau5/mdeverywhere@sunanmau5/mdeverywhere/browser-app@sunanmau5/mdeverywhere/markdown-parser@sunanmau5/mdeverywhere/converters/<name>
- Slack
- Discord
- Telegram
- Notion
- GitHub
- Plain Text
- HTML
pnpm lint
pnpm test
pnpm check
pnpm format- Real-time conversion with a 300ms debounce
- Keyboard shortcuts:
Sfocus platform,Xclear,[and]switch platform,Cmd/Ctrl+Entercopy - LocalStorage persistence of the latest input and selected platform
- Clipboard copy with a DOM selection fallback when
navigator.clipboardis unavailable
The repository includes demo/test-samples.md for quick manual spot checks in the demo app, but the primary quality gate is the automated test suite.
MIT