Skip to content

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
Contributor

@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

@jongalloway jongalloway merged commit 2f243ea into dotnet:main Aug 8, 2025
3 checks passed
@martincostello martincostello deleted the patch-1 branch August 8, 2025 21:26
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.

2 participants