Code blocks with headline and line highlighting #5382

Open
opened 2026-02-05 10:01:30 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @TobiZog on GitHub (Jul 30, 2025).

Describe the feature you'd like

The Obsidian plugin "Better Codeblock" creates Code block titles, shows the used programming language and highlights code lines. It would be nice, if Bookstack could get one or all three features.

The plugin for Obsidian, which offers the code block style options: https://github.com/stargrey/obsidian-better-codeblock

This could be a result:

Image

Thanks for your work!

Describe the benefits this would bring to existing BookStack users

  • Programming language directly readable
  • Every code block can get a title
  • Important code lines could be highlighted

Can the goal of this request already be achieved via other means?

I cant find a solution.

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?

1 to 5 years

Additional context

No response

Originally created by @TobiZog on GitHub (Jul 30, 2025). ### Describe the feature you'd like The Obsidian plugin "Better Codeblock" creates Code block titles, shows the used programming language and highlights code lines. It would be nice, if Bookstack could get one or all three features. The plugin for Obsidian, which offers the code block style options: https://github.com/stargrey/obsidian-better-codeblock This could be a result: <img width="2203" height="760" alt="Image" src="https://github.com/user-attachments/assets/8c5bf358-d158-49c5-bcde-3fea567021ab" /> Thanks for your work! ### Describe the benefits this would bring to existing BookStack users - Programming language directly readable - Every code block can get a title - Important code lines could be highlighted ### Can the goal of this request already be achieved via other means? I cant find a solution. ### Have you searched for an existing open/closed issue? - [x] I have searched for existing issues and none cover my fundamental request ### How long have you been using BookStack? 1 to 5 years ### Additional context _No response_
OVERLORD added the 🔨 Feature Request label 2026-02-05 10:01:30 +03:00
Author
Owner

@PatrickGlatz commented on GitHub (Dec 4, 2025):

I absolutely agree to @TobiZog, this would be so useful for Homelab documentation as well! Currently i place always a H6 Headline above. Please implement this feature. So much needed

@PatrickGlatz commented on GitHub (Dec 4, 2025): I absolutely agree to @TobiZog, this would be so useful for Homelab documentation as well! Currently i place always a H6 Headline above. Please implement this feature. So much needed
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5382