13 lines
279 B
Plaintext
13 lines
279 B
Plaintext
import {styleTags, tags as t} from "@lezer/highlight"
|
|
|
|
export const jsonHighlighting = styleTags({
|
|
String: t.string,
|
|
Number: t.number,
|
|
"True False": t.bool,
|
|
PropertyName: t.propertyName,
|
|
Null: t.null,
|
|
", :": t.separator,
|
|
"[ ]": t.squareBracket,
|
|
"{ }": t.brace
|
|
})
|