Skip to content

Syntax highlighting JSON #30

@rklec

Description

@rklec

The JSON shown as preview really needs syntax highlighting.

The most modern approach today, may be using the Custom Highlights API. See https://developer.mozilla.org/en-US/docs/Web/API/CSS_Custom_Highlight_API Though that is not supported everywhere yet.

Interactive example: https://codepen.io/bramus/pen/VwRqGVo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions