https://github.com/panoply/vscode-json-script-tag
VS Code JSON syntax support for HTML script tags using application/json mimetype
https://github.com/panoply/vscode-json-script-tag
html json syntax-highlighting tmlanguage vscode-extension
Last synced: 8 months ago
JSON representation
VS Code JSON syntax support for HTML script tags using application/json mimetype
- Host: GitHub
- URL: https://github.com/panoply/vscode-json-script-tag
- Owner: panoply
- License: mit
- Created: 2019-07-30T20:08:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-23T21:00:52.000Z (almost 6 years ago)
- Last Synced: 2025-08-19T09:23:11.119Z (8 months ago)
- Topics: html, json, syntax-highlighting, tmlanguage, vscode-extension
- Language: HTML
- Homepage: https://marketplace.visualstudio.com/items?itemName=sissel.json-script-tag
- Size: 40 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://marketplace.visualstudio.com/items?itemName=sissel.json-script-tag)
# JSON within HTML Script (Syntax Support)
Syntax highlighting support for HTML `` tags using `application/json` and `application/ld+json` attributes.
## Why?
VS Code [does not yet? support](https://github.com/microsoft/vscode/issues/36280) JSON syntax highlighting on HTML script tags using the `type="application/json"` attribute.
## Example
```html
/* JSON HERE */
/* JSON HERE */
```