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

Prettier Format

hipstersmoothiehipstersmoothie21k downloads

Opinionated formatting for your notes.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates19

Format notes using prettier.

This plugin exposes the following commands:

Action Hotkey
Format the entire note Blank by default
Format the just the selection Blank by default

And the following settings:

Setting Default
Format on Save false
Format code block false

Add the following to your note's front-matter to enable this plugin for a specific file.

---
plugin-prettier: true
---

Installing

Either install the latest release from Obsidian directly or unzip the latest release into your <vault>/.obsidian/plugins/ folder.

Once the plugin is installed, you need to make sure that the switch for "Prettier Format" is turned on. After you are all setup you would see this plugins commands in the command palette (CMD + P). You can assign the commands to hotkeys for easy usage.

HealthFair
ReviewCaution
About
Format notes and selections with Prettier to apply consistent Markdown and code styling. Format entire files or only selected text, include code blocks, or run automatically on save.
FormattingMarkdownCode
Details
Current version
0.1.1
Last updated
3 years ago
Created
6 years ago
Updates
19 releases
Downloads
21k
Compatible with
Obsidian 0.10.12+
Platforms
Desktop, Mobile
Report bugRequest featureReport plugin
Author
hipstersmoothiehipstersmoothie
twitter.com/hipstersmoothie
GitHubhipstersmoothie
  1. Community
  2. Plugins
  3. Formatting
  4. Prettier Format

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.

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.

PanGu

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

Blur

Create obfuscated blocks of text.

JS Engine

Run JavaScript from within your notes.

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.

Consistent Attachments and Links

Move note attachments and update links automatically.

Editing Toolbar

The Editing Toolbar is modified from cMenu, which provides more powerful customization settings and has many built-in editing commands to be a MS Word-like toolbar editing experience.