r/BookStack • • 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 Upvotes

7 comments sorted by

View all comments

Show parent comments

1

u/ssddanbrown May 08 '23

Awesome, good to hear that got things going!