Apache code highlighting #3867

Closed
opened 2026-02-05 07:43:44 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @nioupola on GitHub (Jun 20, 2023).

Describe the feature you'd like

I'd like syntax highlighting for Apache/httpd code, same as nginx already included. It is already included in highlighting.js library.

Describe the benefits this would bring to existing BookStack users

It's one of the most web server service and missing for the code block.

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

No. I tried to edit manually the source code to set as language-apache but didn't work.

Have you searched for an existing open/closed issue?

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

How long have you been using BookStack?

1 to 5 years

Additional context

No response

Originally created by @nioupola on GitHub (Jun 20, 2023). ### Describe the feature you'd like I'd like syntax highlighting for Apache/httpd code, same as nginx already included. It is already included in highlighting.js library. ### Describe the benefits this would bring to existing BookStack users It's one of the most web server service and missing for the code block. ### Can the goal of this request already be achieved via other means? No. I tried to edit manually the source code to set as `language-apache` but didn't work. ### Have you searched for an existing open/closed issue? - [X] I have searched for existing issues and none cover my fundemental 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 07:43:44 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Jun 20, 2023):

Thanks for the request @tete2soja,
For code languages, I tend to stick with what's supported/provided officially by the codemirror project, for which there is no supported apache mode.

@ssddanbrown commented on GitHub (Jun 20, 2023): Thanks for the request @tete2soja, For code languages, I tend to stick with what's supported/provided officially by the codemirror project, for which there is no supported apache mode.
Author
Owner

@nioupola commented on GitHub (Jun 21, 2023):

Thanks for the feedback. I will take a look to codemirror then and to ask them to add Apache on their side to get downstream after.

@nioupola commented on GitHub (Jun 21, 2023): Thanks for the feedback. I will take a look to codemirror then and to ask them to add Apache on their side to get downstream after.
Author
Owner

@ssddanbrown commented on GitHub (Jun 21, 2023):

I don't believe codemirror are taking on new languages, and there's been a previous request for apache. If you do interact with codemirror, please don't do so on BookStack's behalf. I do not wish to burden them at all for the purpose of BookStack.

@ssddanbrown commented on GitHub (Jun 21, 2023): I don't believe codemirror are taking on new languages, and there's been a [previous request for apache](https://github.com/codemirror/codemirror5/issues/6173). If you do interact with codemirror, please don't do so on BookStack's behalf. I do not wish to burden them at all for the purpose of BookStack.
Author
Owner

@ssddanbrown commented on GitHub (Jun 26, 2023):

Since there's not an official language to use, and I'm not looking to support additional languages myself, I'll close this off.

@ssddanbrown commented on GitHub (Jun 26, 2023): Since there's not an official language to use, and I'm not looking to support additional languages myself, I'll close this off.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3867