Copy As Markdown

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

Autor
baicai99
Dziennych instalacji
0
Wszystkich instalacji
0
Oceny
0 0 0
Wersja
0.3.0
Utworzono
22-12-2025
Zaktualizowano
22-12-2025
Rozmiar
13,7 KB
Licencja
MIT
Dotyczy
Wszystkie strony

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.