Open rochacbruno opened 2 years ago
You mean this?
Using console
and $
$ pwd
/
no $
pwd
/
I think the github comment lexer doesn't differentiate this
This is the lexer that is supposed to be used: https://pygments.org/docs/lexers/#pygments.lexers.shell.BashSessionLexer.
The difference is that it'll try to only use highlighting on the prompt-lines but not the output:
$ echo "Hi there ${USER}"
Hi there wk
I notice that when manual backport is needed the copy-paste of the command using the "copy" icon will include the leading
$
which is not desired, for a quick run I suggest removing those from the instructions leaving just the bare command.Before:
$ git remote add upstream https://github.com/ansible/galaxy_ng.git
->zsh: command not found: $
Now:
git remote add upstream https://github.com/ansible/galaxy_ng.git