Copy As Markdown

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

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
baicai99
1日のインストール数
0
累計インストール数
0
評価
0 0 0
バージョン
0.3.0
作成日
2025/12/22
更新日
2025/12/22
大きさ
13.7KB
ライセンス
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.