Replies: 4 comments
-
I'm open to supporting it! |
Beta Was this translation helpful? Give feedback.
-
@mfix22 @craigfe Integrating something like this: https://github.com/rburns/ansi-to-html seems like the way to go. Edit: https://www.npmjs.com/package/ansicolor might work as well. |
Beta Was this translation helpful? Give feedback.
-
Hey @mfix22 👋 I wanted to contribute to the project (as a long time user of the app) and saw this issue open and labeled as a good first issue. If so, can you please provide more info on where one could start in order to successfully implement this? Many thanks! 🎉 |
Beta Was this translation helpful? Give feedback.
-
@ognjenjevremovic feel free to open a PR to implement this feature 👍 |
Beta Was this translation helpful? Give feedback.
-
I maintain various command-line tools that produce coloured output with ANSI escape codes. Every time I change the output format, I manually update various terminal screenshots on the project READMEs. I've been looking into using
carbon
to automate this process (and produce much nicer screenshots!).This may be considered outside the scope for
carbon
, but it'd be really great to be able to generate images of files containing arbitrary ANSI escapes (rather than doing syntax highlighting on the file). This would allow usingcarbon
to generate screenshots of terminal interactions as well as code snippets.What do you think?
Beta Was this translation helpful? Give feedback.
All reactions