Terraform/HCL syntax highlighting

Is it possible to add Terraform syntax highlighting?

I have seen from other posts that Inkdrop uses Codemirror.

Also, from the posts I have read, it seems that Codemirror 6 has Terraform syntax highlighting support.
GitHub - haoqixu/codemirror-lang-hcl: HCL support for CodeMirror.

Please let me know if you need any other information.

Hi Josh,

Thanks for the question.
At the moment, Inkdrop uses CodeMirror v5, so it is not possible to get it to work on the app, unfortunately.
I’m planning to migrate to v6, but it will involve a big fundamental change. So, I need time to work on it carefully.
I’ll be checking it out when it’s ready!

1 Like