rustc-dev-guide icon indicating copy to clipboard operation
rustc-dev-guide copied to clipboard

Replace "Shell" highlighting with "Bash" highlighting

Open steffahn opened this issue 3 years ago • 2 comments
trafficstars

(compare https://highlightjs.readthedocs.io/en/latest/supported-languages.html for a list of languages and their identifiers/aliases)

Motivation: This code block was mishighlighted: https://rustc-dev-guide.rust-lang.org/git.html#i-see--head

steffahn avatar Feb 20 '22 12:02 steffahn

If there are prompts (> or $) in the code blocks, they should use console

Oh… I didn’t look close enough to notice that the > or $ are actually highlighted (hard to spot in ayu). I thought there’d be no benefit at all of using shell over bash highlighting.

I guess I’ll have to actually read through these then, instead of just proposing a simple "find and replace" commit. Have got no time for that anymore today, I’ll come back to this PR on a later date.

steffahn avatar Feb 20 '22 22:02 steffahn

@steffahn Ping, do you have some time to work on now?

JohnTitor avatar May 16 '22 11:05 JohnTitor

Closing for inactivity, feel free to open a new PR when you have some time to work on, thanks!

JohnTitor avatar Sep 12 '22 22:09 JohnTitor