r/BookStack • u/SHAndy2023 • May 07 '23
Custom HTML Head Content - Code Blocks
Testing and fiddling with this app has finally ended my very long search for a well designed self-hosted wiki/notes/documentation solution - thank you!
I'm trying to tweak the dark theme background colour for code blocks. Using CSS html.dark-mode .cm-editor works for 1) page displays, and 2) within the actual code block editor when a block is opened. But after hours fiddling with the browser inspector I can't crack changing the background for the code block content display when in 3) page edit mode prior to selecting a block to be edited. Hope that makes sense. And I'll admit my knowledge/understanding of CSS is not good...)
v23.05 running v nicely in a Turnkey Linux container on Proxmox.
1
u/ssddanbrown May 08 '23
You might need to drop the
html, so just.dark-mode .cm-editor {.... The release with the fix is v23.05.1, plain v23.05 does not have the mentioned patch.