cli-highlight
cli-highlight copied to clipboard
Feature request: custom languages
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.