HackMD Copy Code Snippet

A userscript that adds a copy to clipboard button on hover of code snippets in HackMD

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

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

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

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

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

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

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

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

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

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

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

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

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

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

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
planetoid
1日のインストール数
0
累計インストール数
5
評価
0 0 0
バージョン
1.0.0
作成日
2024/08/31
更新日
2024/08/31
大きさ
2.89KB
ライセンス
MIT
対象サイト

# Usage Instructions

## Usage Instructions in Englsih
1. Visit any HackMD page.
2. Hover your mouse over a code block, and the "Copy" button will become visible.
3. Click the "Copy" button, and the content of the corresponding code block will be copied to your clipboard.
4. After a successful copy, the button will briefly display "Copied!" before returning to its "Copy" state.

## 使用方法 (Usage Instructions in Tradition Chinese)

1. 拜訪任何 HackMD 頁面。
2. 將滑鼠游標停在程式碼塊上,會看到「Copy」按鈕。
3. 點擊「Copy」按鈕,對應的程式碼內容將被複製到剪貼簿。
4. 複製成功後,按鈕會短暫顯示「Copied!」,然後恢復到「Copy」狀態。

## 使用方法 (Usage Instructions in Simplified Chinese)

1. 拜访任何 HackMD 页面。
2. 将鼠标光标停在源代码块上,会看到「Copy」按钮。
3. 点击「Copy」按钮,对应的源代码内容将被复制到剪贴板。
4. 复制成功后,按钮会短暂显示「Copied!」,然后恢复到「Copy」状态。

# License

This user script is released under the MIT License. It was modified from the original work by Mottie, available at https://github.com/Mottie/GitHub-userscripts/blob/master/github-copy-code-snippet.user.js. We express our gratitude to Mottie for their contribution.