Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: enable highlighting for json, jsonc, toml, yaml#1399

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
eltigerchino wants to merge6 commits intomain
base:main
Choose a base branch
Loading
frommore-highlighting

Conversation

eltigerchino
Copy link
Member

@eltigerchinoeltigerchino commentedJun 27, 2025
edited
Loading

This PR enables highlighting for json and jsonc by reusing the js highlighter, includes the toml highlighting add-on, maps the yaml highlighter correctly (the plugin was already added) and 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 withfeat:,fix:,chore:, ordocs:.
  • This message body should clearly illustrate what problems it solves.

@vercelVercel
Copy link

vercelbot commentedJun 27, 2025
edited
Loading

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

NameStatusPreviewUpdated (UTC)
svelte-dev❌ Failed (Inspect)Jun 27, 2025 4:53pm

@eltigerchinoeltigerchino changed the titlefeat: enable highlighting for json, jsonc, tomlfeat: enable highlighting for json, jsonc, toml, yamlJun 27, 2025
@eltigerchinoeltigerchino marked this pull request as ready for reviewJune 27, 2025 16:48
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@eltigerchino

[8]ページ先頭

©2009-2025 Movatter.jp