rouge-ruby / rouge

A pure Ruby code highlighter that is compatible with Pygments
https://rouge.jneen.net/
Other
3.33k stars 735 forks source link

Add Typescript support for `.cts` and `.mts` files #1978

Closed gspetrou closed 1 year ago

gspetrou commented 1 year ago

Adds Typescript syntax highlighting to .cts and .mts files. These file extensions only specify to Typescript/Node what module system to use. They use the same syntax highlighting as .ts files. More info here.

tancnle commented 1 year ago

Thank you for your contribution @gspetrou ❤️ LGTM 🚀