Skip to content
Proyek

Tentang

Convert clipboard from HTML to MD

Pengembangan web dan aplikasi

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
-2
dalam 15 hari
-2
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Clipboard to Markdown (Chrome Extension)

Quickly grab content from any page:

  • Ctrl+Shift+M (or click the extension) → pick an element → its HTML is converted to Markdown and copied.
  • Ctrl+Shift+S → pick an element → a PNG screenshot of that element is copied. On macOS these use Control (not Command).

Install

  • Grab the .zip from dist/, and unzip it
    • Or, clone this repo
  • Then in Chrome, open chrome://extensions, enable Developer Mode, click Load unpacked, and select the unzipped/cloned folder.

How it works

  • Triggers Chrome’s inspect overlay so you can click the element you want.
  • For Markdown: grabs the element’s outer HTML, runs Turndown locally, and writes the Markdown to your clipboard.
  • For screenshots: captures a clipped PNG of the element and writes it to your clipboard.
  • The debugger detaches automatically after selection.

Permissions

  • debugger to use CDP for inspect and screenshots.
  • offscreen for the Turndown conversion worker.
  • clipboardWrite/clipboardRead to update the clipboard.
  • activeTab, tabs, scripting to target the current page and run clipboard writes in-page.
  • Turndown is bundled locally (turndown.js).

Credits

turndown.js is from Turndown and is Copyright (c) 2017 Dom Christie under the MIT license.

Jelajahi proyek terkait

Memuat…