does anyone know of a kotlin or java library that ...
# announcements
n
does anyone know of a kotlin or java library that can take ansi colored text (from running
git diff
process) and turn it into colored html output?
g
not a library and it's much bigger that that, but it has the part described (somewhere in git plugin): https://github.com/robbyrussell/oh-my-zsh
n
but that is in the shell and will not work on windows right ? i was looking for a jvm library that works with the output from git diff from linux or windows
g
n
except in reverse.. parse ansi text and turn it into colored/styled html
g
Ah, I see
a
I know this is a while ago, but it looks like the do support that in
HtmlAnsiOutputStreamTest
https://github.com/fusesource/jansi/blob/master/changelog.md#jansi-19-released-2012-06-04