If it helps, that text I pasted was from my terminal (zypper, dracut, and zsh.) I do not understand why you would need syntax highlighting for that or how you would autodetect that from a terminal, which can vary wildly in color depending on the application, not to mention the ever increasing number of packages that may or may not have colored output.
I see, my argument is this : “Is it viable to attempt to autodetect a programs coloring with no knowledge of its parent program?” Such as in zypper, where posttrans and installation script outputs are a darkened cyan color, (in Konsole.) I am not excluding the overview screen at the beginning of an install/update or the errors that occur during download, I understand that, since it may be possible. But how can we be sure which program we are getting text from if the user does not specify the command or the programs name?
In my experience, unless explicitly stated in the way discourse expects (see images,) discourse does not apply syntax highlighting .
On beginning line:
After beginning line (must be first line), this method is somewhat hit and miss as only certain program directories seem to be recognized.
The problem with discourse’s solution is that most users either don’t know about this feature or don’t care. Which is what I perceive this other idea to be attempting to solve. I just don’t see a viable way through this.
Which directly contradicts to the reply I got and the Discourse article that was referenced. I just wanted to know how it is works in this Discourse instance.