I’ve been working on making the editor stable and performant.
Editor performance improvements
I revisited the editor decoration features and found some bottlenecks.
- Scan only the visible lines instead of the whole document on every scroll:
- Codeblock, blockquote, and alert decorations
<mark>tags- Completed-task strikethrough
Also, inline image widgets now avoid recalculating their positions.
Bugfixes
- Editor:
RangeError: Invalid position N in document of length N— a bare URL at the very end of a note broke table, alert, blockquote and code block highlighting - Editor:
RangeError: Mark decorations may not be empty— an empty<mark></mark>broke inline mark highlighting - Editor & Preview: Scroll sync randomly stops working
- Editor: Table highlighting was missing when the table begins above the visible area, e.g. when scrolling up from the bottom of a long table
- Editor: Highlighting was missing or flickered in a long note until you typed or scrolled — decorations were built against a syntax tree that had not yet been parsed down to the visible text
- Editor: Multi-line quote command doesn’t properly deal with list indents
- Editor: Line insert popup out of view when not wrapping lines (Thanks @Magnus)
Tool updates
Live Export v0.2.2
This is a NodeJS library to help programmatically export notes for building blogs, allowing you to use Inkdrop as a CMS.
This release revives the project on a modern toolchain and fixes several bugs that had left the library broken at runtime.
Blog template update: Astro 7 support
A template for creating a simple blog using live-export now uses AstroJS v7.
This is an example project of using Inkdrop as a CMS for building static websites.
Here is a repository:
Check out the tutorial docs:
MCP Server v1.5.0
To update:
npm i -g @inkdropapp/mcp-server@latest
Docs: Integrate AI agents with the MCP Server - Inkdrop User Manual
New tools
- Add
create-bookandupdate-booktools for managing notebooks - Add
create-fileandread-filetools for working with attachments
Fixes
update-tagnow updates via the per-document endpoint, so partial updates no longer need to resend unchanged fields and no longer reset the tag’s color to default
Thanks @Blake_Miller for the feedback.
New doer joined!
Thanks @Khouw_Devin ![]()
Help spread the word
I’d really appreciate it if Inkdrop has been useful in your workflow and you could leave a review on AlternativeTo!
https://alternativeto.net/software/inkdrop/about/
