Replies: 1 comment 4 replies
-
Hey @tom0010. Delta produces colours as ANSI sequences that are understood by terminal emulators. I think the best way to do this would be to convert the ANSI sequences to HTML color codes and open the resulting file in a web browser, and then e.g. print to PDF. I just got that to work; you might want to play with the options a bit ( First install
Now open /tmp/diff.html in a web browser: |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As the title says really, is this possible to do?
I tried redirecting to a file
> output.txt
but because delta uses colours it doesn't render properly.Maybe the possibility to render to a pdf?
Beta Was this translation helpful? Give feedback.
All reactions