BookStackApp / BookStack

A platform to create documentation/wiki content built with PHP & Laravel
https://www.bookstackapp.com/
MIT License
15.02k stars 1.88k forks source link

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

Closed simao-silva closed 2 months ago

simao-silva commented 3 months ago

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?

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.

ssddanbrown commented 3 months ago

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 2 months ago

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