felixfbecker / cli-highlight

Syntax highlighting for your terminal 💻✨

Home Page:https://cli-highlight.surge.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: custom languages

noway opened this issue · comments

Would be very useful to be able to pass in custom language definitions which would be passed down to highlight.js

Cheers

FYI: This would be a 3 line patch... you'd merely need to wrap addLanguage the way that listLanguages already is. Though I'm not sure this is maintained anymore?

Disclaimer: Current Highlight.js maintainer here.