Format code blocks of various languages for Obsidian
Provides commands to format code blocks in Obsidian using Prettier internally.
Chinese summary
提供命令,使用Prettier在Obsidian中格式化代码块。
Key Use Cases
- Cleaning up messy code blocks
- Ensuring consistent formatting across notes
Pros
- Quick formatting
- Uses well-established Prettier
- Supports many languages via Prettier plugins
Limitations
- Limited to languages supported by Prettier
- Requires code block fences
- No built-in language detection beyond code block language tag
Tags
Related Plugins
2.5M downloads
Git
Git plugin automatically backs up your Obsidian vault to a Git repository on a schedule. It's the go-to backup and version control solution for technical users who want full history of their notes.
2.3M downloads
Style Settings
Allows users to adjust CSS variables of themes, plugins, and custom snippets directly from an intuitive settings panel.
Get the best Obsidian plugins in your inbox
Monthly picks: top new plugins, hidden gems, and curated plugin stacks for different workflows.