Hacker News new | ask | show | jobs
by blueflow 1405 days ago
There exists tooling to convert these typescripts into, for example, HTML output to include on your website. I use the script(1) util as part of my dayjob to create a bit of a trail when there are questions later.

Some terminal emulators also support dumping the buffer as HTML.

1 comments

> There exists tooling to convert these typescripts into, for example, HTML output to include on your website.

Indeed, I mentioned aha in another comment.

> Some terminal emulators also support dumping the buffer as HTML.

That's a nifty feature that I haven't run into yet. Seems like it could be quite useful.

Konsole does HTML export and the HTML is simple/editable (only inline styles, insignificant whitespace removed, output as-shown, not as-generated, so e.g. a progress bar is just a single line of text, not however many times it was updated).