Skip to content

Repository files navigation

web2md — Convert any webpage to clean Markdown

A minimal Chrome side-panel extension. Click → Markdown. Copy or download.

web2md screenshot

Quick start (30 seconds)

  1. Build: npm install && npm run build
  2. Open chrome://extensions, enable Developer mode
  3. Click "Load unpacked", select the dist/ folder
  4. Pin the extension; click its icon (or press Cmd+Shift+M / Ctrl+Shift+M)
  5. Side panel opens with the current page as Markdown — hit "Copy"

Features

  • Two modes: Article (Readability extraction) / Whole page
  • Direct DOM read — never re-fetches the URL
  • Settings: theme, default mode, image handling, filename template, font size, blocklist, preserved HTML tags
  • i18n: zh-CN / en, auto follows browser locale
  • Default shortcuts: Cmd+Shift+M toggle, Cmd+Shift+Y copy

Development

npm install
npm run dev        # vite + crxjs watch mode
npm run test       # vitest watch
npm run e2e        # playwright (builds first)
npm run build      # production build to dist/

License

MIT — see LICENSE.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages