Prettier Format

approved

by Andrew Lisowski

Opinionated formatting for your notes.

103 stars19,902 downloadsUpdated 2y ago
View on GitHub

obsidian-plugin-prettier

Format notes using prettier.

This plugin exposes the following commands:

ActionHotkey
Format the entire noteBlank by default
Format the just the selectionBlank by default

And the following settings:

SettingDefault
Format on Savefalse
Format code blockfalse

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.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.