Add Elixir to list of supported languages in code blocks #4834

Closed
opened 2026-02-05 09:19:23 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @jakoubek on GitHub (Jun 23, 2024).

Describe the feature you'd like

I'd like syntax highlighting for the Elixir programming language in code blocks.

Describe the benefits this would bring to existing BookStack users

Be able to read Elixir code blocks more easily.

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

No

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

There is "elixir" in highlight.js : https://github.com/highlightjs/highlight.js/blob/main/src/languages/elixir.js

And yes, there is a ticket mentioning adding support for Elixir in the editor (#2125), but in the code editor it's not available nevertheless.

Originally created by @jakoubek on GitHub (Jun 23, 2024). ### Describe the feature you'd like I'd like syntax highlighting for the Elixir programming language in code blocks. ### Describe the benefits this would bring to existing BookStack users Be able to read Elixir code blocks more easily. ### Can the goal of this request already be achieved via other means? No ### 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 There is "elixir" in highlight.js : https://github.com/highlightjs/highlight.js/blob/main/src/languages/elixir.js And yes, there is a ticket mentioning adding support for Elixir in the editor (#2125), but in the code editor it's not available nevertheless.
OVERLORD added the 🔨 Feature Request label 2026-02-05 09:19:23 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Nov 28, 2024):

Thanks for the request @jakoubek, but I usually keep the scope of our supported languages to those we've previously added and/or those with official codemirror support, which I can't see for Elixir, so I'm therefore going to close this off.

@ssddanbrown commented on GitHub (Nov 28, 2024): Thanks for the request @jakoubek, but I usually keep the scope of our supported languages to those we've previously added and/or those with official codemirror support, which I can't see for Elixir, so I'm therefore going to 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#4834