Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Feature request) Code Block language support for Terraform (HCL) #739

Closed
Hion-V opened this issue Dec 10, 2024 · 2 comments
Closed

(Feature request) Code Block language support for Terraform (HCL) #739

Hion-V opened this issue Dec 10, 2024 · 2 comments

Comments

@Hion-V
Copy link

Hion-V commented Dec 10, 2024

Describe feature

It would be nice to have Code Note language support and syntax highlighting for HCL which is used for terraform.

Additional Information

There appears to be a highlightjs package for this already according to https://highlightjs.readthedocs.io/en/latest/supported-languages.html so this might not be too difficult to implement
Also noteworthy is that there's a package for CodeMirror too https://github.com/haoqixu/codemirror-lang-hcl

@eliandoran
Copy link
Contributor

eliandoran commented Dec 13, 2024

@Hion-V , for now we can only have syntax highlight for code blocks and not code notes (w/ CodeMirror). The reason is that we are currently using CodeMirror 5 but the provided plugin is for CodeMirror 6.

Will create a separate issue to track the code note support.

@eliandoran eliandoran changed the title (Feature request) Code Note language support for Terraform (HCL) (Feature request) Code Block language support for Terraform (HCL) Dec 13, 2024
@eliandoran
Copy link
Contributor

See #771.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants