dyff
dyff copied to clipboard
contribute a new language model to highlight.js / github's linguist
LE:
I might have been mislead by this post on Github and highlight.js, in the sense of them using each other, whereas maybe that is not the case / sounds like github carries its own highlighting tool. Therefore extending this issue to cover the right investigation as to which is the way to have code blocks in Github PRs dyff-highlighted and find the right way to have it implemented.
ORIGINAL:
https://highlightjs.org/ https://github.com/highlightjs/highlight.js
highlight.js is commonly used for highlighting code blocks for web display, with github being one of the most notable users of this implementation. having the output from dyff displayed nicely in github would be very welcomed highlight.js themselves do not implement the new language grammars, instead they want contributors to do so - https://highlightjs.readthedocs.io/en/latest/language-requests.html not much else to say - I unfortunately don't have the time to refresh my lex/yacc (nah, joking, it's not that intense to implement it) and I feel maintainers/contributors might best know all the nooks and crannies of this diff language here
related issue here: https://github.com/homeport/dyff/issues/213
I've also created this request over at Github: https://github.com/orgs/community/discussions/52701