HackMD Copy Code Snippet

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

Versione datata 31/08/2024. Vedi la nuova versione l'ultima versione.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

Autore
planetoid
Valutazione
0 0 0
Versione
1.0.0
Creato il
31/08/2024
Aggiornato il
31/08/2024
Dimensione
2,89 KB
Licenza
MIT
Applica a

# 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.