Format with Prettier

by Alex Gavrusev
5
4
3
2
1
Score: 62/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

22
stars
5,461
downloads
3
forks
795
days
29
days
29
days
59
total PRs
0
open PRs
22
closed PRs
37
merged PRs
7
total issues
0
open issues
7
closed issues
38
commits

Latest Version

a month ago

Changelog

0.17.0 (2026-04-02)

Miscellaneous Chores

  • deps: bump the development group with 12 updates (2c8696d)
  • deps: migrate to typescript 6 (ab3a98d)

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.