Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Markdown Cleanup

cgecge49 downloads

Strip bold markers, remove non-breaking spaces, merge single-sentence paragraphs, fix colon spacing, and break lines at sentence boundaries. Tuned for Korean text.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

Clean up Markdown pasted from chat assistants, web pages, or other editors with a single command. The rules are tuned for Korean prose, but the bold, nbsp, and paragraph transforms work for any language.

한국어 요약: AI 답변이나 웹에서 붙여 넣은 마크다운의 볼드(**),  , 문장마다 끊긴 단락, 쌍점 띄어쓰기를 커맨드 하나로 정리합니다.

Commands

Command What it does
Strip bold Removes ** and __bold__ markers outside code and math.
Remove non-breaking spaces Deletes lines that contain only   and turns inline   / U+00A0 into regular spaces.
Merge single-sentence paragraphs Joins runs of one-sentence paragraphs separated by blank lines into one paragraph. Headings, lists, tables, quotes, and code are left alone.
Fix colon spacing Rewrites 제목 : 값 as 제목: 값 (no space before, one space after), following the Korean punctuation rules (2014). Skips code, links, URLs, brackets, front matter, times such as 10:30, and file.ts:12.
Break lines at sentence boundaries Rewraps plain paragraphs and quotes so every line ends at a sentence boundary, packing sentences up to 170 columns (CJK characters count as 2).
Clean up all, then format with Prettier Runs every transform above, then runs the Prettier plugin's "Format content" command.

Every command runs on the active note and reports what changed in a notice. If nothing changed, the notice explains why (for example, how much of the note is inside protected code blocks, or the line of an unclosed code fence).

What is never touched

  • Fenced code blocks and inline code
  • Math ($…$, $$…$$)
  • YAML front matter (paragraph merging, colon spacing, line breaking)

Prettier integration (optional)

The last command calls the Prettier community plugin if it is installed and enabled. Without it, the cleanup still runs and a notice tells you Prettier was not found.

If you use the line-breaking transform together with Prettier, leave Prettier's proseWrap at its default (preserve). Both always and never rewrap the lines again.

Installation

Install from Settings → Community plugins → Browse and search for "Markdown Cleanup".

Manual install: download main.js and manifest.json from the latest release into <vault>/.obsidian/plugins/md-cleanup/, then enable the plugin.

License

MIT

HealthExcellent
ReviewPassed
About
Clean up Markdown pasted from chat assistants, web pages, or other editors with a single command. Strip bold markers and non‑breaking spaces, merge one‑sentence paragraphs, fix Korean colon spacing, rewrap lines at sentence boundaries, and run all transforms then format with Prettier if available while leaving code, math, and front matter untouched.
MarkdownFormattingLanguages
Details
Current version
1.0.0
Last updated
3 weeks ago
Created
3 weeks ago
Updates
1 release
Downloads
49
Compatible with
Obsidian 1.0.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
cgecgegoeun23
GitHubgoeun23
  1. Community
  2. Plugins
  3. Markdown
  4. Markdown Cleanup

Related plugins

PanGu

Add spaces between Chinese characters and English alphabet. A boon for typographically compulsive people.

Text Format

Format selected text upper/lower/capitalize.

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

Image Captions

Add captions to images with inline Markdown and link support. The caption format is compatible with the Commonmark spec and other Markdown applications.

Blur

Create obfuscated blocks of text.

Format with Prettier

Format files in your vault using Prettier.

Columns

Create columns in Markdown.

Admonition

Admonition block-styled content.

Custom Frames

Turn web apps into panes using iframes with custom styling. Also comes with presets for Google Keep, Todoist and more.

Simplified Chinese Word Splitting

Adds Simplified Chinese word splitting support for the editor and Vim mode.