intersystems-community / vscode-objectscript

InterSystems ObjectScript extension for Visual Studio Code
https://docs.intersystems.com/components/csp/docbook/DocBook.UI.Page.cls?KEY=GVSCO
Other
107 stars 48 forks source link

support objectscript in MD fenced codeblock #1430

Open isc-lindensc opened 1 day ago

isc-lindensc commented 1 day ago

Hi,

not sure if this is the correct area or if this should go into languageserver.

Could we consider to provide fenced code block support for markdown? ref https://github.com/mjbvz/vscode-fenced-code-block-grammar-injection-example/tree/master

Currently if you write markdown you can highlight a codeblock with 3 ticks plus language and if supported the code inside the codeblock will be highlighted according to the language.

currently using ```objectscript

write !,"This is a test!"

is not getting highlighted while below works ```sql

select sample from sample.table

above is github working as intended here now same from vscode: image

gjsjohnmurray commented 1 day ago

Related to #964