mjbvz / vscode-github-markdown-preview-style

VS Code extension that changes the built-in markdown preview to match Github's styling
https://marketplace.visualstudio.com/items?itemName=bierner.markdown-preview-github-styles
MIT License
303 stars 57 forks source link

HCL syntax highlighting #47

Closed xt0rted closed 2 years ago

xt0rted commented 5 years ago

It doesn't look like the hcl language is being colorized in the preview like it is on github.com.

Sample markup

workflow "Push actions" {
  on = "push"
  resolves = [
    "Install dependencies",
    "Run ESLint"
  ]
}

action "Install dependencies" {
  uses = "docker://node:12-alpine"
  runs = "npm ci"
}

action "Run ESLint" {
  uses = "xt0rted/eslint-action"
  secrets = ["GITHUB_TOKEN"]
}

VSCode preview

image

xt0rted commented 5 years ago

After looking into this more it seems to be an upstream issue https://github.com/highlightjs/highlight.js/issues/1879

mjbvz commented 2 years ago

Closing as upstream