readthedocs rst rendering treats "#" as comments
This is a very minor thing, but https://fight-flash-fraud.readthedocs.io/en/stable/introduction.html#quick-capacity-tests-with-f3probe currently renders like:
I think there's something called "bash-session" or "shell-session" in Pygments that takes into account the prompt symbol ($ or #), unlike "bash" or "shell".
I'm open to pull requests to improve the documentation.
Frankly, I don't see where the problem is. Granted, the shell command for ordinary user and root user depicted by $ and # are apparently rendered differently, but I'd say that is useful.
Is this really bug or am I just missing it?
Well sorry for not making a PR still but compare
(shell)
# ./f3fix --last-sec=16477878 /dev/sdb
with what you get from
pygmentize -l shell-session <<< "# ./f3fix --last-sec=16477878 /dev/sdb"
See also https://pygments.org/docs/terminal-sessions/
https://pygments.org/docs/lexers/#pygments.lexers.shell.BashSessionLexer
Well sorry for not making a PR still but compare
(shell)
./f3fix --last-sec=16477878 /dev/sdb
with what you get from
pygmentize -l shell-session <<< "# ./f3fix --last-sec=16477878 /dev/sdb"See also https://pygments.org/docs/terminal-sessions/
https://pygments.org/docs/lexers/#pygments.lexers.shell.BashSessionLexer
Thank you for the follow-up. I'd rather not run an unnecessary f3fix. Maybe you can provide a screenshot.