idleberg / vscode-applescript

Language syntax and snippets for AppleScript
https://marketplace.visualstudio.com/items?itemName=idleberg.applescript
MIT License
70 stars 8 forks source link

Syntax highlighting for Markdown Fenced Code #32

Closed drkvogel closed 1 year ago

drkvogel commented 1 year ago

I was hoping that this extension would syntax-highlight code in Markdown fenced code in .md files, e.g.:

tell application "Finder" to get the name of front Finder window

but it doesn't seem to. Is this something it can support? Are there changes to settings.json that I need to make to enable this?

(btw I notice that AppleScript is syntax-highlighted here in GitHub!)

idleberg commented 1 year ago

Great idea, didn't know this was possible. Added in v0.22.0!

(btw I notice that AppleScript is syntax-highlighted here in GitHub!)

Some years ago, GitHub used linguist as syntax highlighter. From what I read online, they have switched to something based on tree-sitter.