Skip to content

Conversation

teemingc
Copy link
Member

@teemingc teemingc commented Jun 27, 2025

This PR:

  • enables highlighting for json and jsonc by reusing the js highlighter
  • adds the toml and ini highlighting add-ons
  • ensures yaml highlighting works correctly (the plugin was already added previously but was unused)
  • ensures an error occurs rather than silently not highlighting code blocks if a language is not supported.

Before submitting the PR, please make sure you do the following

  • It's really useful if your PR references an issue where it is discussed ahead of time.
  • Prefix your PR title with feat:, fix:, chore:, or docs:.
  • This message body should clearly illustrate what problems it solves.

Copy link

vercel bot commented Jun 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
svelte-dev ❌ Failed (Inspect) Jul 31, 2025 4:52am

@teemingc teemingc changed the title feat: enable highlighting for json, jsonc, toml feat: enable highlighting for json, jsonc, toml, yaml Jun 27, 2025
@teemingc teemingc marked this pull request as ready for review June 27, 2025 16:48
@teemingc teemingc changed the title feat: enable highlighting for json, jsonc, toml, yaml feat: enable highlighting for sh, json, jsonc, toml, yaml Jul 31, 2025
@teemingc teemingc changed the title feat: enable highlighting for sh, json, jsonc, toml, yaml feat: enable highlighting for json, jsonc, toml, yaml, ini Jul 31, 2025
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