I'm a Scots lawyer and FOSS enthusiast, dabbling dangerously close to combining work with pleasure.
For more of my projects see thebirdsbeak, my personal website.
When the relevant command is being entered in to the terminal, it will be preceded by a $. You should not enter the dollar sign when entering the command yourself.
$ [command you type goes here]
When using the REPL, the command will be preceded by three 'chevrons':
>>> [command you type goes here]
When entering proper scripts, I will be embedding these from my Github. If the section is only referring to a line or two, the box around the command will have a white background and no preceding character:
[Text to be entered goes here]