A Markdown formatter plugin for Inkdrop powered by Prettier v3.
ipm install inkdrop-prettier
Press Ctrl+Space in the editor to format the current note.
Plugins > Prettier Format
Enable Format on Save in the plugin settings to automatically format notes when saving.
Open Inkdrop > Preferences > Plugins > prettier to configure:
| Option | Default | Description |
|---|---|---|
| Print Width | 80 |
Line length the printer wraps on |
| Tab Width | 2 |
Spaces per indentation level |
| Use Tabs | false |
Indent with tabs instead of spaces |
| Prose Wrap | preserve |
How to wrap prose (always, never, preserve) |
| Single Quote | false |
Use single quotes in code blocks |
| Format on Save | false |
Auto-format when saving a note |
- Formats Markdown using Prettier v3
- Preserves cursor position after formatting
- Preserves scroll position
- Format-on-save support
- Configurable via Inkdrop Settings UI
- Error notifications for malformed content
MIT