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
  • Join the community
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Prettier Format

hipstersmoothiehipstersmoothie20k 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.

62%
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
5 years ago
Updates
19 releases
Downloads
20k
Compatible with
Obsidian 0.10.12+
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.

JS Engine

Run JavaScript from within your notes.

Columns

Create columns in Markdown.

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.

ABC Music Notation

Render music sheets directly from code blocks using ABC music notation via abcjs.

Templater

Create and use dynamic templates.

Importer

Import data from Notion, Evernote, Apple Notes, Microsoft OneNote, Google Keep, Bear, Roam, and HTML files.

Outliner

Work with your lists like in Workflowy or Roam Research.

Various Complements

Complete words similar to auto-completion in an IDE.

Fantasy Statblocks

Create, manage and view a Fantasy Bestiary with Dungeons and Dragons style statblocks.