Multi-line code blocks

https://greasyfork.org/pl/scripts/29879-dynahighlight

It’s configured to highlight only blocks with language specified in the first line. Common languages from We're not a CDN - highlight.js are recognised. If you want some other you need to manually add links to those languages from highlight.js - Libraries - cdnjs - The #1 free and open source CDN built to make life easier for developers (put each as another @require under the link to highlight.min.js)
I added updating highlighting when shortcut is pressed, ‘ctrl + alt + h’, it can be changed in the code.
Example:

you can also play with https://greasyfork.org/pl/scripts/29819-focus-mode-for-dynalist I’m testing it and will write a post listing features when it will be ready
‘ctrl + alt + f’ to activate/deactivate, and there is also button on the right under search&filter icons

It’s working as intended (on mac with chrome, vivaldi, safari, firefox) and don’t lags in any way, but I’m not JavaScript developer so it may be done in stupid way

EDIT: if you want to test focus mode then disable those css styles which I gave you before

3 Likes