Skip to content

panoply/vscode-json-script-tag

Repository files navigation

Install

JSON within HTML Script (Syntax Support)

Syntax highlighting support for HTML <script></script> tags using application/json and application/ld+json attributes.

Why?

VS Code does not yet? support JSON syntax highlighting on HTML script tags using the type="application/json" attribute.

Example

<script type="application/json">
  /* JSON HERE */
</script>

<script type="application/ld+json">
  /* JSON HERE */
</script>

About

VS Code JSON syntax support for HTML script tags using application/json mimetype

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages