Skip to content

start using highlight.js to highlight structured data #610

Description

@erwindon

Is your feature request related to a problem? Please describe.
Currently, a simple CSS is used to present structured values, e.g. grain-values.
This is difficult to maintain as structure (lines/indentation/spacing/wrapping) must remain optimal.

Describe the solution you'd like
Introduce highlight.js and use that for both coloring and layout.

Additional context

  • must check whether license is matching the other licenses;
  • must check whether all data types (json/yaml/nested) are supported;
    • json --> ok
    • yaml --> ok
    • nested --> need to find compatible rules
  • must check whether the colors still look good;
  • optionally add an option to switch it off from master-config.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions