Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add proper syntax highlighting for returned data #624

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

erwindon
Copy link
Owner

Is your feature request related to a problem? Please describe.
SaltGui show (structured) results in a plain way. A few lo-wlevel formatting tricks are use to format it.

Describe the solution you'd like
Use library that can do syntax highlighting on data.

Additional context

  • library must be free to use
  • library must be simple to use
  • library must be small (as shipped)

@erwindon
Copy link
Owner Author

erwindon commented Aug 11, 2024

use https://highlightjs.org/
download a bundle with only json and yaml (nested will use yaml)

@erwindon erwindon force-pushed the highlightjs branch 5 times, most recently from 232d647 to 7e26fb1 Compare August 11, 2024 15:13
Copy link

sonarcloud bot commented Aug 23, 2024

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

Successfully merging this pull request may close these issues.

1 participant