Copy As Markdown

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

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

Autor
baicai99
Denně instalací
0
Celkem instalací
0
Hodnocení
0 0 0
Verze
0.3.0
Vytvořeno
22. 12. 2025
Aktualizováno
22. 12. 2025
Size
13,7 KB
Licence
MIT
Spustit na
všech stránkách

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.