Add syntax highlighting #17

Closed
opened 2025-08-27 10:30:55 +02:00 by jriou · 3 comments
Owner

Add ".html" to the snippet URL to create a website view.
Select format at creation (default to plain).

Add ".html" to the snippet URL to create a website view. Select format at creation (default to plain).

The easiest idea would be to use a code editor for pretty syntax highlighting like the vscode one for example: https://github.com/microsoft/monaco-editor
Same for the UI text/code input.

The easiest idea would be to use a code editor for pretty syntax highlighting like the vscode one for example: https://github.com/microsoft/monaco-editor Same for the UI text/code input.
jriou self-assigned this 2025-08-27 19:33:37 +02:00
Author
Owner

I have added the Monaco Editor to create notes and store the language with the note in c54f32495b.
Next step is to implement the web view to show a note with syntax highlighting (in read-only mode).

I have added the Monaco Editor to create notes and store the language with the note in c54f32495b288c15525fc03d21c5bd5593ac20f2. Next step is to implement the web view to show a note with syntax highlighting (in read-only mode).
Author
Owner

The web view has been implemented on 8edaebfad6.

The web view has been implemented on 8edaebfad6.
jriou closed this issue 2025-08-28 09:48:45 +02:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: jriou/coller#17
No description provided.