mirror of
https://github.com/dylanarmstrong/obsidian-prettier-plugin.git
synced 2026-07-22 12:30:24 +00:00
No description
| src | ||
| .gitignore | ||
| .npmrc | ||
| esbuild.config.mjs | ||
| eslint.config.mjs | ||
| LICENSE | ||
| manifest.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| styles.css | ||
| tsconfig.json | ||
| version-bump.mjs | ||
| versions.json | ||
Obsidian Prettier Plugin
This is a formatting plugin for Obsidian (https://obsidian.md).
It uses the built-in settings for tabs and tab spacing so it doesn't require configuration.
Installation
Unzip the latest release into .obsidian/plugins folder of your vault.
Usage
Format on save is enabled by default, and can be changed under plugin settings.
Additionally, a "Format current file" command is available.
Customization
This plugin only provides two options to prettier, namely tabWidth and useTabs. They are taken via the Editor settings. Beyond that, there's no customization provided.
Credits
Significant inspiration taken from alexgavrusev/obsidian-format-with-prettier.
License
BSD Zero Clause License, for more details see License