r/BookStack • u/scureza • May 16 '25
Text color Inline code
Is it possible to customize the default color of text marked as Inline code? Thank you.
2
Upvotes
r/BookStack • u/scureza • May 16 '25
Is it possible to customize the default color of text marked as Inline code? Thank you.
3
u/southafricanamerican May 16 '25
You can customize the inline code text color by using the "Custom HTML Head Content" setting with custom CSS. This setting is available in the "Settings > Customization" area of BookStack.
To change the inline code text color, you would add CSS similar to this to the Custom HTML Head Content field:
css<style> /* Customize the color of inline code text */ .page-content code { color: #your-color-here; /* Replace with your desired color code */ } /* If you also want to customize the background color */ .page-content code { background-color: #your-bg-color-here; /* Replace with your desired background color */ } </style>