[Idea]: support for syntax highlighting in the Notebooks Notes Editor #1236
Replies: 3 comments 1 reply
|
Thanks — and nice use case: small, rich personal data + a local LLM is exactly the kind of setup we want to keep first-class. I dug into the code, and there are two different things hiding in "improved color rendering":
On the custom CSS file for the preview: before committing to that, I'd like to understand what you'd change with it. A user-CSS hook is a real maintenance surface (it breaks whenever the DOM changes), and we just consolidated theming into a token system. For your lists use case, would better default rendering — e.g. nicer task-list checkboxes, tighter list density — get you most of the way? If there's a concrete gap the defaults can't cover, that's worth knowing. Status: exploring — with the dark-mode editor fix graduating immediately as a work item. |
|
Your "bullets render as indents" is a real bug, and I could confirm it in the code: our CSS reset (Tailwind's preflight) sets On the editor side:
Your third point — pasting an image from the clipboard into a note — is a separate need, and a good one: it means notes carrying attachments, which they can't today (notes are plain markdown in the database). I've logged it as evidence in the images thread, #566, where display and storage of images are being shaped together. Your AutoHotkey flow is a clear description of the target behavior. Status: exploring — list bug graduated (#1299), editor colors folded into #1268, image paste routed to #566. |
|
Closing the loop: both defects graduated from this thread are fixed on The remaining need from your post — pasting an image from the clipboard into a note — lives in #566, where notes with attachments are being shaped together with image display. Follow that thread if you want to weigh in. Status: resolved — everything here either shipped or has a home. If the next release doesn't behave as described, reopen this one or comment on the issue. |
Uh oh!
There was an error while loading. Please reload this page.
What are you trying to do?
Notes are very useful for example to create a personnal todo list, a purchase list... where you can retrieve data by asking the LLM. This is very powerful also with with a local LLM because the quantity of data is quite low but with rich personal information.
What feels difficult or missing today?
Visualization of the Note is quite difficult.
What outcome would help?
The text editor (Markdown) with right column rendering is perfect.
An improved color rendering could help a lot when editing the Markdown (editor on the left side).
The possibility to use or edit a css file for the rendering( renderer on the right side) would also help for a better visualization.
How do you handle this today?
I use the tool as it is (already very useful).
Additional context, examples, or possible directions
No response
How would you like to participate?
Before posting
All reactions