New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Sep 19, 2018

Conversation

Projects
None yet
2 participants
@utkarshkukreti
Contributor

utkarshkukreti commented Sep 18, 2018

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

This comment has been minimized.

Show comment
Hide comment
@nwolverson

nwolverson Sep 19, 2018

Owner

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...)

Owner

nwolverson commented Sep 19, 2018

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 nwolverson merged commit ff39f0d into nwolverson:master Sep 19, 2018

@nwolverson

This comment has been minimized.

Show comment
Hide comment
@nwolverson

nwolverson Sep 19, 2018

Owner

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

Owner

nwolverson commented Sep 19, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment