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 Fixer

Muhammed Hunaid TopiwalaMuhammed Hunaid Topiwala54 downloads

Fixes invisible Unicode characters, box-drawing tables, spaced pipe tables, spaced code blocks, and trailing whitespace — on paste or on demand.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

An Obsidian plugin that cleans up messy Markdown — automatically when you paste, or on demand via commands. It fixes the artifacts that sneak in when you copy text from terminals, PDFs, chat apps, and AI tools: invisible Unicode characters, box-drawing tables, over-spaced pipe tables and code blocks, and trailing whitespace.

Features

Each fixer can be run on its own, and they're all chained together for paste and "fix all":

Fixer What it does
Fix invisible Unicode characters Strips zero-width and other invisible Unicode characters (zero-width spaces, joiners, BOMs, etc.) that copy in from other apps and break search, links, and rendering.
Convert box-drawing tables Turns Unicode box-drawing tables (┌───┬───┐ / │ … │) — common in terminal and CLI output — into standard Markdown pipe tables.
Fix spaced pipe tables Collapses the excess alignment padding in pipe tables (| cell |) down to clean, minimal spacing.
Fix spaced code blocks Repairs fenced code blocks whose fences or contents picked up stray spacing on copy.
Trim trailing whitespace Removes trailing spaces and tabs at the end of every line.
Fix all spacing issues Runs every fixer above in sequence and reports what it changed.

Usage

  • On paste (automatic): paste anywhere in a Markdown editor. If the pasted text contains any of the issues above, Markdown Fixer cleans it before it lands and shows a notice of what it fixed. If there's nothing to fix, paste behaves normally.
  • Command palette: open it (Ctrl/Cmd-P) and run any of the six commands (e.g. Markdown Fixer: Fix all spacing issues). Each command reports how many issues it fixed, or tells you there were none.
  • Ribbon icon: click the wrench in the left ribbon to run Fix all spacing issues on the current note.

No settings to configure, and no default hotkeys — bind your own in Settings → Hotkeys if you like.

Installation

From the community store

Once approved: Settings → Community plugins → Browse, search for Markdown Fixer, Install, then Enable.

Manual

  1. Download main.js and manifest.json from the latest release.
  2. Copy them into <your-vault>/.obsidian/plugins/markdown-fixer/.
  3. Reload Obsidian and enable Markdown Fixer in Settings → Community plugins.

Development

npm install        # install dependencies
npm run dev        # watch build
npm run build      # type-check + production build → main.js
npm test           # run the vitest suite

The converters live in src/converters/ and each is independently unit-tested in src/__tests__/; src/main.ts wires them into the paste handler and commands.

License

MIT

HealthExcellent
ReviewSatisfactory
About
Clean messy Markdown automatically on paste or on demand via commands. Convert box-drawing tables to Markdown pipe tables, strip invisible Unicode, collapse excess table spacing, repair spaced code fences, trim trailing whitespace, and run individual fixers or a single fix-all pass that reports changes. Launch: https://x.com/muhammedhunaid/status/2081848080341647758
MarkdownFormattingAutomation
Details
Current version
1.0.0
Last updated
2 weeks ago
Created
2 weeks ago
Updates
1 release
Downloads
54
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
Muhammed Hunaid TopiwalaMuhammed Hunaid Topiwalamuhammedhunaid
mtopiwala.com
GitHubmuhammedhunaid
muhammedhunaid
Xmuhammedhunaid
  1. Community
  2. Plugins
  3. Markdown
  4. Markdown Fixer

Related plugins

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.

Auto Link Title

Automatically fetches the titles of links from the web.

Blur

Create obfuscated blocks of text.

Link Embed

Convert URLs in your notes into embeded previews.

Columns

Create columns in Markdown.

Importer

Convert your data to Markdown files you can use in Obsidian. Works with Apple Notes, OneNote, Evernote, Notion, Google Keep, and many other formats.

BRAT

Easily install a beta version of a plugin for testing.

Homepage

Open a note, base, or workspace on startup, or set it for quick access later.

Advanced URI

Control everything with URI.

Lazy Loader

Load plugins with a delay on startup, so that you can get your app startup down into the sub-second loading time.