Closed PicoSushi closed 6 years ago
Hi. Thanks for reporting the issue!
vmd uses highlight.js (indirectly via remark-highlight.js -> lowlight -> highlight.js).
The reported problem seems to be an issue in highlight.js. You can try to file an issue there. If it gets fixed and the dependencies in between get updated it will eventually land in vmd.
I'm going to close this as there isn't really anything I can do and the issue is not significant enough to switch to a different highlighting library.
When I wrote markdown with contains HCL code and viewed with vmd, the highlighting was odd as below:
As you can see, the first
resource
keyword didn't highlighted.Markdown for reproduce is this:
First
resource
doesn't be highlighted!If comment line inserted, first
resource
also highlighted.