We will be updating the Forum on Tuesday, 19th of March between 09:00 and 11:00 (UTC) (see the time in your time zone). During this time you may experience some downtime. Thanks in advance for your patience. 🙂
Better Support for Code in Notes Panel
-
Hello y'all!
I save a LOT of JavaScript code or CSS Style snippets I use a lot in my notes for easy access, but with all the tabs in the code the spacing is thrown all over the place, it would be nice if there was simple support for code added, maybe through a button you click after highlighting the specific text, similar to the current Markup View Button, but that you can still edit the text, that it gets displayed the way it should, the ability to normally write tabs as in every code editor, and maybe even some basic syntax highlighting, so you could have a small pastebin/code editor in your notes!
Really looking forward to useful additions like these!
Best regards,
Mika -
@Gwen-Dragon said:
You need Syntax Highlighting? Too much work to add/extend this at this time for developers.
It already works well in preview/visual mode, you just have to explicitly define the language:
```javascript console.log('hello'); ```
-
Wouldn't the code be too small to read?
-
@aqm No, why would it? How does syntax highlighting change the font size?