highlightjs / highlight.js

JavaScript syntax highlighter with language auto-detection and zero dependencies.
https://highlightjs.org/
BSD 3-Clause "New" or "Revised" License
23.6k stars 3.58k forks source link

Add `sudo` added to the default Bash keywords. #3957

Closed joshgoebel closed 8 months ago

joshgoebel commented 9 months ago

I'd like to see sudo added to the default Bash keywords. It's odd that it's not highlighted.

Originally posted by @mbomb007 in https://github.com/highlightjs/highlight.js/issues/3493#issuecomment-1877241478

joshgoebel commented 9 months ago

Perhaps built_in rather than keyword since right now keyword is JUST actual Bash keywords, but I'm totally open to this. PR welcome.