code-hike / codehike

Marvellous code walkthroughs
https://codehike.org
MIT License
4.41k stars 136 forks source link

Better support for terminal #206

Open pomber opened 2 years ago

pomber commented 2 years ago

Most docs start with some commands you need to run on a terminal.

For example, one common use case for web projects is to show options for npm/yarn/pnpm. Maybe code hike should make that use case easier.

There's also the styling of commands and output. Here the important part is yarn start, the other lines are extra context:

```terminal
$ yarn start
[INFO] Starting the development server...
[SUCCESS] Website is running at: http://localhost:3000/