This used to be the default, and I’m assuming this changed due to an update to Discourse, but fenced code blocks used to wrap long lines so that the entire thing would be visible at once. Now it does not do that so that you have to scroll to see a long single line of relevance.
I definitely do not prefer it the way it is now. I’d much rather see everything at once.
You can just put your relevance in a relevance tag – though that doesn’t help all the existing posts using the pre-formatted text tags
```` your text here ````
test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test
On my iPad the main problem I have is that I can only see a fragment of the code, and I have to scroll “within” the block to read the code. I usually find is easier to select all the code copy it and paste it into a different app to read the actual relevance.
It doesn’t look like my iPad keyboard has the “backtick” character. I only have the apostrophe. Being a Gen2 iPad, I don’t want to upgrade to the latest iOS version for performance reasons, so I’m stuck using the “4spaces” method.
Ok, I made this change to the CSS for pre blocks. We’re probably making a trade off here with how nicely javascript code or XML examples can be exchanged, but we’ll see if it is a problem. This style change is not supported on IE 7 and earlier, so hopefully there is no one still using those moldy browsers.
names of fixlets whose(name of it does not contain "(Superseded)" AND name of it as lowercase contains "endpoint manager" AND name of it as lowercase contains "client" AND globally visible flag of it AND ( (it >= (it as version) of preceding text of first "." of (it as string) of maximum of (it as version) of agent versions of bes computers) of (it as version) of following text of last "-" of name of it ) ) of bes sites whose("BES Support" = name of it)
I believe that highlight.js that is used by discourse should detect the language, but I don’t know the specifics of what is happening or what change was made.