- Published on
How to Generate Beautiful Terminal Output
- Authors
- Name
- Andrew Henry
- @ajhenrydev
It's quite easy to make beautiful inline terminal outputs that can be included in GitHub readme's like the one below
Packages Needed
Install
brew install asciinema
npm i -g svg-term-cli
Process
Record your terminal output with
asciinema
asciinema rec test.json --overwrite
Take your asciinema json and feed it to
svg-term
svg-term --in test.json --out resources/terminal.svg --window
That's it all takes!
These generate svg files and those are supported on GitHub