Clean Paste
pendingby Orlando Ascanio
Clean pasted text from AI chats, websites, and docs before saving it to your note.
Clean Paste
Clean messy pasted text from AI chats, websites, and docs before it lands in your note.
Commands
Clean selected textPaste clean from clipboardClean current note
The plugin also adds a left ribbon icon for quickly cleaning the current note.
What it cleans
- excessive blank lines
- heading spacing (while preserving Obsidian tag lists)
- bullet list spacing
- numbered list spacing
- inconsistent list indentation
- smart quotes and odd unicode spaces
- repeated spaces
- common HTML artifacts
Code fences and inline code are protected during cleanup so they are restored unchanged.
For clipboard cleanup, the plugin prefers text/markdown, falls back to converted text/html, and only uses plain text as the last fallback.
Settings
Preserve extra blank lines in paragraphsNormalize bullets to -Strip HTML artifacts
Development
npm install
npm run dev
Changelog
See CHANGELOG.md for a list of changes and release notes.
Release notes
manifest.jsonandversions.jsonshould always agree on the minimum supported Obsidian version.- Release assets should include
main.js,manifest.json, andstyles.css.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.