An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

[![Install](https://img.shields.io/badge/vscode-install-blue.svg)](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 */

```