element-web icon indicating copy to clipboard operation
element-web copied to clipboard

Text is not highlighted in code blocks when using a custom theme

Open Oha-you opened this issue 4 years ago • 2 comments

Steps to reproduce

  1. Add and select a custom Element theme, for example Discord Dark (instructions here)

  2. Send a code block

    2021-12-02_183743

  3. Either

    • restart Element (a custom theme will be used by default) or
    • switch theme from Dark to a custom one two times

Outcome

What did you expect?

Code stays highlighted with different colors.

What happened instead?

Code is not highlighted. Animation:

element-code-block

Operating system

Windows 10

Application version

Element version 1.9.5

How did you install the app?

From https://element.io/get-started

Homeserver

matrix.org

Will you send logs?

No

Oha-you avatar Dec 02 '21 18:12 Oha-you

up! still annoying

towingie avatar Oct 09 '24 21:10 towingie

@towingie you're welcome to contribute a fix, labs features like custom themes don't really get much attention as they're not used by very many users.

t3chguy avatar Oct 10 '24 14:10 t3chguy