§ htark / tools

§ depaste

depaste.

Strips rich-text formatting from the clipboard.

plain
innerText. Everything flat.
markdown
HTML → CommonMark + GFM via turndown. Backslash escaping is disabled, so LaTeX ($\pi$, $\frac{a}{b}$), underscored identifiers (foo_bar), and similar markup survive verbatim. Tables, strikethrough, and task lists are GFM-converted. Empty heading blocks (chat-UI dividers) are dropped. Math regions defensively collapse \\\ in case the source was already double-escaped.

Output renders in Pandoc, Obsidian, Typora, GitHub, and any KaTeX/MathJax-aware editor. Notion has no markdown path to its native Equation blocks; use a math-aware editor for those notes.

Runs entirely client-side. Nothing leaves the browser.

§ mode
§ paste here

paste rich text from notion / docs / a webpage / an llm chat above

§ output

nothing yet