nwolverson / vscode-language-purescript

PureScript Language Support for Visual Studio Code
https://marketplace.visualstudio.com/items/nwolverson.language-purescript
Other
17 stars 12 forks source link

Add syntax highlighting for purescript/purs code blocks in markdown. #9

Closed utkarshkukreti closed 6 years ago

utkarshkukreti commented 6 years ago

The code is based on https://github.com/JustusAdam/language-haskell. I just replaced haskell with purescript and hs with purs.

Here's a preview of what this does:

screen shot 2018-09-18 at 9 45 53 pm
nwolverson commented 6 years ago

So cool! I thought about doing this some time ago but never looked into it.

(Sad that unless you're also using Github for processing the markdown the processed output may be worse than the preview...)

nwolverson commented 6 years ago

I have some changes to polish off upstream after which I'll release this