Adding Markdown Autocompletion to Poznote via the CodeMirror 6 Editor Engine #1092
Replies: 3 comments 1 reply
-
|
Ouch, this one is giving me a hard time, but I definitely understand the value of it. Thank you for the detailed suggestion and the kind words! 😊 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Hi, I’ve published the beta version. Don’t hesitate to give it a try and let me know how it feels. There are probably still a few bugs lurking around, even though I tested as many features as possible. This was quite a large change, so your feedback will be very valuable. Thanks again for your support and for helping make Poznote better! 😊 https://github.com/timothepoznanski/poznote/releases/tag/6.23.0-beta Important This is a beta release so you must change the version in the docker-compose.yml |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hi Tim,
First of all I'd like to thank you for your continious great work on providing us such a great easy to use, but in the mean time very complete, solution for our daily notes.
Context
Today, Markdown note-taking in Poznote relies on manual content entry in a simple source editor. This approach offers great flexibility, but it becomes time-consuming for users who regularly produce structured notes, documentation, or detailed reports.
Modern development environments have democratized autocompletion, which reduces keystrokes, speeds up writing, and limits syntax errors. This experience is now perceived as a productivity standard.
In Poznote, the lack of input assistance represents a missed optimization, even though Markdown is one of the primary editing modes. The technical observation is that robust autocompletion cannot be added as a mere plugin on top of the current input field: it is inseparable from a genuine editor engine. The request can therefore be reframed as follows: evolve the Markdown source editor into an engine capable of natively embedding autocompletion, automatic closing, and snippets.
Request
Implement a Markdown autocompletion feature within the Poznote editor, built on the Open Source editing engine CodeMirror 6.
The feature will cover:
**,`,[],(); continuation of lists and blockquotes on line break).Chosen Technical Solution: CodeMirror 6
The choice of CodeMirror 6 directly addresses Poznote's stack constraints (vanilla JavaScript frontend, Vite build already in place, privacy-first architecture with no CDN dependency, raw-source editing with preview):
Native coverage by the CodeMirror 6 modules:
@codemirror/autocompletesnippetCompletion(@codemirror/autocomplete)closeBrackets@codemirror/lang-markdowninsertNewlineContinueMarkup@codemirror/language-dataIn-house development then focuses on the completion sources specific to Poznote (table skeletons, link/image snippets, heading levels, and potentially cross-note references), with the engine handling the rest.
Scope and Points of Attention
Expected Benefits
Beta Was this translation helpful? Give feedback.
All reactions