You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BetterRoleColors doesn't apply role colors to Header text in messages made using Discord's recent Markdown functionality.
To Reproduce
Type a #, a space, and then any text into Discord's message bar and send it.
Expected Behavior
I expected the Header text to also have color like the rest of the text in a message.
Screenshots
Discord Version
Stable
Additional Context
From investigating this, it seems that discord wraps the header markdown text in two spans, and then a h1, h2, or h3 element. I managed to select them in my own project by using div[class*="messageContent"] h1 span span but admittedly that was a quick and dirty solution after Discord's update wrecked everything.
The text was updated successfully, but these errors were encountered:
zerebos
changed the title
[Bug] BetterRoleColors doesn't apply role colors to Header text in messages
[Feature] [BetterRoleColors] Add support for advanced markdown like headers
Sep 16, 2024
Which plugin/theme is this about?
BetterRoleColors
Describe the Bug
BetterRoleColors doesn't apply role colors to Header text in messages made using Discord's recent Markdown functionality.
To Reproduce
Type a #, a space, and then any text into Discord's message bar and send it.
Expected Behavior
I expected the Header text to also have color like the rest of the text in a message.
Screenshots
Discord Version
Stable
Additional Context
From investigating this, it seems that discord wraps the header markdown text in two spans, and then a h1, h2, or h3 element. I managed to select them in my own project by using
div[class*="messageContent"] h1 span span
but admittedly that was a quick and dirty solution after Discord's update wrecked everything.The text was updated successfully, but these errors were encountered: