Skip to content

All styles highlight text in white, making "dark" styles unreadable

Since LibreOffice 25.8, which introduced visual themes for documents, Code Highlighter 2 seems to conflict with something.

Whether you use the default LibreOffice Light or Dark theme, the extension highlights text in white. This works fine for the "light" styles, since the text adapts to dark colors, but "dark" styles are formatted with dark background, light color text and white highlight, making code blocks unreadable.

You can work around this by manually setting text highlight to the background color of the style, but it defeats the purpose of the extension.

(I have tested this in Writter)

Edited by Silver Keeper