riot / syntax-highlight

Riot tags syntax rules
MIT License
14 stars 1 forks source link

Typescript support #7

Open BrockAtkinson opened 6 years ago

BrockAtkinson commented 6 years ago

My javascript sections turn all-white when displaying script(type='typescript'), even though the code transpiles fine (can provide an example repo if desired).

Should this issue also be posted on the typescript sublime package and cross-referenced?

crisward commented 6 years ago

This doesn't officially support typescript, but we could modify it to use js highlighting for ts. The syntax is almost identical so should work. No example needed.

Should hopefully get it done this weekend if it's a quick update.