Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I was looking for a very similar tool for my project. Anyhow does some one know about a tool that allows you to render your commandline output to html


Depends on what markup language that output is in. If you just want a conversion of colors and ANSI escape codes to HTML tags, I've recently found and used this script (1). This SO link discusses few other options (2).

[1]: https://github.com/pixelb/scripts/blob/master/scripts/ansi2h...

[2]: https://unix.stackexchange.com/questions/44956/converting-co...


Thanks for sharing these and I think these really help




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: