Groovy syntax highlighting support #5445

Closed
opened 2026-02-05 10:04:26 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @tuut84 on GitHub (Oct 6, 2025).

Describe the feature you'd like

Groovy syntax highlighting support

Describe the benefits this would bring to existing BookStack users

Some of the SAP Cloud products are using groovy as their default code language, it would be great if bookstack could support it for documentation purpose.
I know this request was requested 3 years ago link but like to try again to have it added.

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

partially, selecting java/javascript give you some highlighting but it is not ideal.

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?

Under 3 months

Additional context

No response

Originally created by @tuut84 on GitHub (Oct 6, 2025). ### Describe the feature you'd like Groovy syntax highlighting support ### Describe the benefits this would bring to existing BookStack users Some of the SAP Cloud products are using groovy as their default code language, it would be great if bookstack could support it for documentation purpose. I know this request was requested 3 years ago [link](https://github.com/BookStackApp/BookStack/issues/3359) but like to try again to have it added. ### Can the goal of this request already be achieved via other means? partially, selecting java/javascript give you some highlighting but it is not ideal. ### 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? Under 3 months ### Additional context _No response_
OVERLORD added the 🔨 Feature Request label 2026-02-05 10:04:26 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Oct 13, 2025):

Looks to be part of the Codemirror legacy modes: 693b4a3131/mode/groovy.js
So can be something we add. I'll assign this to be added for next release.

@ssddanbrown commented on GitHub (Oct 13, 2025): Looks to be part of the Codemirror legacy modes: https://github.com/codemirror/legacy-modes/blob/693b4a3131352087ec6eed5e4b87094e45f86db5/mode/groovy.js So can be something we add. I'll assign this to be added for next release.
Author
Owner

@ssddanbrown commented on GitHub (Oct 21, 2025):

This has now been added via commit ebf82617b8 for the next release.
Thanks for the re-request @tuut84!

@ssddanbrown commented on GitHub (Oct 21, 2025): This has now been added via commit ebf82617b870625a77a4ce50841be22b84c8428f for the next release. Thanks for the re-request @tuut84!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5445