Closed CyberPenguin closed 5 months ago
Should be easy to do. There is a power shell highlighter in legacy modes: https://github.com/codemirror/legacy-modes/tree/main/mode
Which needs to imported here: https://github.com/silverbulletmd/silverbullet/blob/main/common/languages.ts
I can do this after my vacation, but happy to take a PR that adds this.
On discord somebody asked for diff, may well add that one too while at it. And potentially more languages in that list.
I can try to do it. It should not be hard, also if it's my first time with Typescript. If you assign it to me, I will do it ASAP.
Great!
I think this issue can be closed, since it has been solved!
Please could Powershell syntax highlighting be added to codeblocks?
Reproduce Issue