All Collections
Author Help
How do I simulate console input in an example?
How do I simulate console input in an example?
Leanpub Support avatar
Written by Leanpub Support
Updated over a week ago

Like this:
โ€‹

```console
$ git init
Initialized empty Git repository in /path/to/repo

(Note that you also have to close the code example with 3 backticks, but Intercom eats them so I can't show you.)


โ€‹

Did this answer your question?