Format with Prettier

by Alex Gavrusev
5
4
3
2
1
Score: 64/100

Description

Category: File Management

The Format with Prettier plugin enhances your Obsidian writing experience by automatically formatting your notes in a clean and readable manner. With this plugin, you can ensure that your notes are consistently styled throughout, making it easier to focus on the content rather than the presentation. Whether you're writing code snippets or jotting down ideas, Format with Prettier keeps your text looking neat and organized, saving you time and effort in the process.

Reviews

No reviews yet.

Stats

23
stars
7,366
downloads
4
forks
949
days
1
days
31
days
77
total PRs
2
open PRs
27
closed PRs
48
merged PRs
10
total issues
0
open issues
10
closed issues
39
commits

Latest Version

a month ago

Changelog

0.21.0 (2026-09-02)

Miscellaneous Chores

  • deps: bump prettier from 3.9.4 to 3.9.6 in the production group (1d33cfa)
  • deps: bump the development group across 1 directory with 9 updates (af30876)

README file from

Github

obsidian-format-with-prettier

Format files in your Obsidian vault using Prettier

Installation

Unzip the format-with-prettier.zip from the latest release into the .obsidian/plugins folder of your vault.

Note that you might have to reopen your vault for the plugin to show up under "Installed plugins"

Usage

Format on save is enabled by default, and can be changed under plugin settings

Additionally, a "Format current file" command is available

Customization

The plugin fill look for a prettierrc.json (note the lack of . at the start of the file) in the root folder of your vault. In it, you can configure Prettier as you normally would

Formatting the entire vault at once

Use the Prettier CLI:

$ cd YOUR_VAULT_FOLDER
$ echo '**/.obsidian' > .prettierignore
$ npx prettier . --write --config prettierrc.json

License

MIT © Aliaksandr Haurusiou.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.