Faded fonts when using code tags

Continuing the discussion from I love UM, that's awesome… but so many bugs here!:

@ouroumov
I see you edited my command to include bash, you must not like the faded font either. Maybe Luke can give the forums a tweak.
@lah7

Yeah I thought it was a syntax highlighting bug, maybe the automatic language detection failed for your specific code. Well, that’s not a very big issue. ^^

I shouldn’t even have edited your post, but I was checking it out and I was curious as if adding the bash spec would fix it.

1 Like

Leaders have their privileges :slight_smile:

1 Like

@samuvuo posted this for firefox.

btw I don’t know who this guy is but I’ve re-read a number of his posts just now and unleashed a torrent of likes on them. Since he landed 21 days ago he contributed a number of very interesting comments. Sounds like another Leader in the making.

1 Like

To be clear, neither of you are a fan of this:

I just found an option that lets me specify the "default" code syntax -- which I've set to bash.

1 Like

Thats right, darken the faded text it if you can.

Hmm, that didn’t do the trick – the HTML for the page suggests it’s using SQL syntax. I could do a CSS hack as it highlights this as a “comment” or just disable auto highlighting for any unspecified code blocks.

  • Disable auto highlighting
  • Just darken the text

0 voters

How do I vote for both :grin:

I think the issue doesn’t occur often enough that it would be worth going with either of those options.

It may also affect other areas like search results.

Okay, I’ve just applied a CSS hack to darken the syntax.

Discourse is also behind in updates, so there could be fixes in this area.

1 Like

Hi

I am not sure when I see lah7 post 11 shows solution if this issue is fully resolved

For me, its not. EDIT but I am running FF from upstream site as an unpacked binary rather than repo ......if that makes a difference?

I tend to use FF with black font on white background
If the code box is supposed to have a grey background I found 2 ways of allegedly getting it.....none satisfy my arrogant needs...:grin:

method 1
paste some code into your reply then use mouse to select it then click on code button

method 2
at beginning and end of each line of code use the "`" symbol
seems to be darker to my eyesight
screenshot might help?

Imgur

In case its not obvious.....the grey is too faint for me

forum truncates image so if interested see link

https://imgur.com/CWU23sn