Skip to content
프로젝트

소개

Convert clipboard from HTML to MD

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
-2
in 15 days
-2
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

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.

관련 프로젝트 살펴보기

불러오는 중…