Add HCL to list of supported languages in code blocks #4839

Closed
opened 2026-02-05 09:20:00 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @simao-silva on GitHub (Jun 28, 2024).

Describe the feature you'd like

I would like to have syntax highlight for HCL code snippets.

Describe the benefits this would bring to existing BookStack users

This would enable the syntax highlight of HCL code.

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

Not sure.

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?

3 months to 1 year

Additional context

There is a npm package dedicated to the language: https://www.npmjs.com/package/codemirror-lang-hcl.

Originally created by @simao-silva on GitHub (Jun 28, 2024). ### Describe the feature you'd like I would like to have syntax highlight for HCL code snippets. ### Describe the benefits this would bring to existing BookStack users This would enable the syntax highlight of HCL code. ### Can the goal of this request already be achieved via other means? Not sure. ### 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? 3 months to 1 year ### Additional context There is a npm package dedicated to the language: https://www.npmjs.com/package/codemirror-lang-hcl.
OVERLORD added the 🌔 Out of scope🔨 Feature Request labels 2026-02-05 09:20:00 +03:00
Author
Owner

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

Thanks for the request @simao-silva, but I typically limit our language support to those that have official codemirror packages provided for, which HCL does not appear to have.

@ssddanbrown commented on GitHub (Jun 28, 2024): Thanks for the request @simao-silva, but I typically limit our language support to those that have official codemirror packages provided for, which HCL does not appear to have.
Author
Owner

@ssddanbrown commented on GitHub (Jul 14, 2024):

I'll therefore close this off as out of scope.

@ssddanbrown commented on GitHub (Jul 14, 2024): I'll therefore close this off as out of scope.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4839