scala-cli
scala-cli copied to clipboard
`$` prefix signs shouldn't be inserted before example outputs in terminal examples
Describe the bug
The expected outputs in our bash code block examples in docs aren't rendered properly. Unnecessary $ characters are being added.
To Reproduce
Currently, the $ character is being inserted before every line of code in our docs' terminal examples (screenshot from basics.md below.

What's interesting, when running yarn run start from my local machine, the $ characters seem to be completely missing.

Expected behaviour
$ characters should only be inserted before non-output (uncommented) lines in bash code blocks in our docs.
@romanowski suggested we rely on the ChainedSnippets UI component, which is used in the Getting Started guide.
Looks like that'd solve the issue.