Copy As Markdown

Drag-select partial content; Ctrl+C copies Markdown with list markers/headings; also shows a copy button.按 Ctrl+C 会将其以 Markdown 形式复制(包含列表标记/标题);同时还会显示一个复制按钮。

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Аўтар
baicai99
Усталяванняў за дзень
0
Усяго ўсталяванняў
0
Рэйтынг
0 0 0
Версія
0.3.0
Створаны
22.12.2025
Абноўлены
22.12.2025
Памер
13.7 КБ
Ліцэнзія
MIT
Ужываецца на
Усе сайты

Copy As Markdown 是一个油猴脚本:在网页中拖选任意一段内容后,你可以直接按 Ctrl+C 复制为 Markdown 纯文本。它会自动把网页里的 有序列表/无序列表转换为 1. / - 的 Markdown 列表格式,并识别 H1~H6 标题转换为 # ~ ######。同时,拖选后会在附近显示一个“复制Markdown”按钮,点击即可一键复制(适合不想用快捷键的场景)。脚本全程不依赖富文本粘贴,输出更适合粘贴到 Markdown 编辑器、代码仓库、笔记工具等。

Copy As Markdown is a userscript for Tampermonkey: after you drag-select any portion of a webpage, you can press Ctrl+C to copy it as plain Markdown text. It automatically converts ordered/unordered lists into Markdown list markers (1. / -) and turns H1–H6 headings into #######. It also shows a nearby “Copy Markdown” button after selection, so you can copy with one click if you prefer not to use shortcuts. The script avoids rich-text output, making it ideal for pasting into Markdown editors, code repositories, and note-taking tools.