Skip to content

Improve codefence in JSON snippet #9973

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

martincostello
Copy link
Member

Stops the comment being rendered like a syntax error.

#9830 (comment)

@Copilot Copilot AI review requested due to automatic review settings July 15, 2025 17:11
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR improves the syntax highlighting and rendering of a JSON code block in the SDK documentation by changing the language identifier from json to jsonc to properly handle comments within the JSON snippet.

  • Changes the code fence language from json to jsonc to prevent syntax error rendering when comments are present in the JSON

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

Successfully merging this pull request may close these issues.

1 participant