Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
登录
Copy as Markdown 预览

Copy as Markdown 作者: cllama

Right-click any selection to copy it as clean, GitHub-flavoured Markdown, or turn it into a printable PDF. CodRight-click any selection to copy it as cleane fences keep their language, tables and nested lists stay intact, and links are made absolute.

3(1 条评价)3(1 条评价)
尚无用户尚无用户
下载 Firefox 并安装扩展
下载文件

扩展元数据

关于此扩展
Turn anything you can select in your browser into clean Markdown - no
flipping to a viewer, no pasting into a converter website, no cleaning up
afterwards.

Right-click a selection, choose Copy as Markdown, and the Markdown is on
your clipboard. Every copy is also kept in a local, searchable history, so
you can find it again later instead of hunting through old chats and notes.


Most of them mangle anything that is not a paragraph. Copy as Markdown is
built on Turndown, the same
converter used by some of the largest note-taking tools, with the GitHub
Flavored Markdown plugin enabled - so the messy parts come out right.
  • Code blocks keep their language. Fences are read from language-,
    lang-, highlight-source- and brush: class names, plus
    data-language and data-lang attributes. If the code itself contains
    backticks, the surrounding fence grows automatically so the block is never
    broken.
  • Everything GitHub understands. Tables become pipe tables, task lists
    become - [x] items, and strikethrough uses the double-tilde form that
    every renderer accepts.
  • Structure survives. Nested and ordered lists keep their numbering and
    indentation, headings use # style, and block quotes stay block quotes.
  • Links and images stay useful. Relative URLs are resolved against the
    page you copied from, so they still work after you paste the Markdown into
    a note, a ticket or a README.
  • Inline code is inline code. A <code> element inside a paragraph no
    longer gets double-wrapped the way naive converters do it.
  • Scripts and styles are dropped. You get the text, not the page's
    plumbing.


Copying something used to mean "it is on the clipboard until the next copy".
Now every selection you convert is also kept on your own machine.
  • Nothing is lost. Anything you copy stays available after you move on to
    another page, another tab or another day.
  • No duplicates. Copy the same passage twice and it is only kept once, so
    the history never fills up with repeats.
  • One click away. Open the saved Markdown page from the toolbar icon or
    from the right-click menu.
  • Grouped by source. Entries are grouped by the page they were copied
    from, with the site's name and the full URL, so related snippets stay
    together.
  • Search across the page title, the source URL and the Markdown itself.
  • Re-copy, edit or delete any entry. The Markdown is rendered as you read
    it and edited in place, so fixing a stray line is a two-second job.
  • Delete all clears the whole history after a confirmation.
  • Lazy loading. Only a handful of groups is rendered at a time and more
    load as you scroll, so the page stays fast even after thousands of copies.


The right-click menu shows a single entry that adapts to what you are doing:
  • text selected -> Copy as Markdown
  • nothing selected -> Open saved Markdown

No submenus, no clutter.
  • No accounts, no sign-in, nothing to configure.
  • No network requests at all. The extension never contacts any server;
    every library it uses is bundled inside it.
  • No analytics, no tracking, no telemetry.
  • Nothing is ever uploaded. Your history lives in the browser's own local
    extension storage on your device.
  • You stay in control. Delete any entry, or the entire history, whenever
    you like.
  • No page content is read outside of the moment you invoke it. The content
    script only looks at your current selection when you click the context menu
    entry, and it does nothing at any other time.


The same code ships as a Manifest V3 build for Chrome, Edge and other
Chromium browsers, and as a Manifest V2 build for Firefox. It also handles
the common annoyance of right-clicking in a tab that was already open when
the extension was installed: the extension injects its own content script
on demand and just works.


That is what your browser already does best: press Ctrl/Cmd+P and choose
"Save as PDF". The saved Markdown page prints cleanly too if you prefer to
archive a copy.
评分 3(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
1
2
0
1
0
阅读全部 1 条评价
权限与数据

必要权限:

  • 访问您在所有网站的数据

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 用户支持网站
  • 复制附加组件 ID
版本
2.1.1
大小
95.41 KB
上次更新
2 个月前 (2026年10月14日)
相关分类
  • 网页开发
  • 语言工具
  • 游戏和娱乐
许可证
MIT 许可证
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

下载

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

最新版本

  • Nightly
  • Beta

商用版 Firefox

  • Enterprise

社区

  • Connect
  • Contribute
  • Developer

关注

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。