highlightjs / highlight.js

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

[Request] BASH Improvement Fast.... #3983

Open TbhV2 opened 4 months ago

TbhV2 commented 4 months ago

Is your request related to a specific problem you're having? bash language/shell for terminal like need improvement

The solution you'd prefer / feature you'd like to see added... && || etc need syntax highlighting and highlight arguments

Any alternative solutions you considered... Commands preview (syntax highlighting) for my web

Additional context... Make it fast

joshgoebel commented 4 months ago

Please provide an example or two of "highlight arguments". Thanks.

TbhV2 commented 4 months ago

Also depends on program

Commonly used with start -

eg:

wget -O filename link

etc other commands same some commands without - this was diffcult ? & Command a first command also a color need like zsh,etc

joshgoebel commented 4 months ago

Commonly used with start -

But not always, so how could we know what is an isn't an argument? I'm not sure only highlighting - arguments is so good...

TbhV2 commented 4 months ago

Yes, also diffcult because every program depend, highlight after-word, - a color and word another color or same color