I have a few hundred AHK scripts and snippets. Is there any chance that Joplin will support the AutoHotkey syntax in the future? It’s a pretty popular scripting language for windows based automation tasks.
I think Joplin uses highlight.js, if that supports autohotkey then guaranteed Joplin will as well. Since Joplin doesn’t implement syntax highlighting itself, this change is very unlikely to happen (unless of course it is changed upstream).
Thanks for the reply, I checked the supported languages by highlight.js and AutoHotkey is supported but is limited at this time.
We use a custom build of highlight.js that only include some languages: https://github.com/laurent22/joplin/tree/master/ElectronClient/app/gui/note-viewer/highlight
The list is this one:
If someone wants to build a new custom package and include AutoHotKey or any other language I can merge it. See here to build the package: https://highlightjs.org/download/