Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>JSON Script TagNew to Visual Studio Code? Get it now.
JSON Script Tag

JSON Script Tag

panoply

|
10,062 installs
| (2) | Free
JSON Syntax highlighting support for html script tags using application/json and application/ld+json attributes.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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>
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft