Skip to content
Projets

À propos

Convert clipboard from HTML to MD

Développement web et applicatif

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
-2
in 15 days
-2
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

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.

Explorer des projets similaires

Chargement…