mapbox / rehype-prism

rehype plugin to highlight code blocks in HTML with Prism (via refractor)
MIT License
178 stars 24 forks source link

Support uppercase language names #4

Closed mxstbr closed 5 years ago

mxstbr commented 5 years ago

This allows one to specify JS or JavaScript as the language name, not just the lower case variants.

davidtheclark commented 5 years ago

@mxstbr Please commit the snapshot change related to the test, then we should get a green light from Travis.

mxstbr commented 5 years ago

Sorry, I don't have the repo cloned locally, I just edited the tests from the GitHub web UI—would you mind doing that for me? 😅

davidtheclark commented 5 years ago

I implemented this in 588905519ff7d0daf670ef4dccdce83cb82d1192 and released it in 0.3.1.

mxstbr commented 5 years ago

Perfect, thank you!