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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

erwindon
Copy link
Owner

@erwindon erwindon commented Aug 11, 2024

Is your feature request related to a problem? Please describe.
SaltGui shows (structured) results in a plain way. A few low-level 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)

Copy link

sonarcloud bot commented Nov 2, 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