It would be nice to have proper syntax highlighting for AppleScript used in code blocks, especially since AppleScript is the primary language posted on this site. Currently the auto-detection usually guesses either SQL or VB.net.

This is already implemented by highlight.js; it just needs to be deployed by Stack Exchange. The tag info page shows there is currently no syntax highlighting for AppleScript. https://stackoverflow.com/tags/applescript/info

As an example, here is code highlighted from this popular answer. enter image description here

Here is how it looks in highlight.js version 9.18 enter image description here


You must log in to answer this question.

Browse other questions tagged .