Uh oh!
There was an error while loading. Please reload this page.
docs: fix nested code fence in HTTP MCP servers authentication example - #17447
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Pull request overview
Fixes Markdown rendering in the “HTTP MCP Servers” authentication example by removing an invalid nested code fence so the YAML snippet renders/highlights correctly.
Changes:
- Removed an erroneous outer ```yaml wrap fence and duplicate sentence in the HTTP MCP servers auth example.
- Updated the pinned
github/codeql-action/upload-sarifaction fromv3.32.3tov3.32.4(including SHA).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
docs/src/content/docs/guides/mcps.md | Removes invalid nested fence so the YAML example renders correctly. |
pkg/workflow/data/action_pins.json | Bumps the pinned CodeQL upload-sarif action version/SHA. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "github/codeql-action/upload-sarif@v3.32.4": { | ||
| "repo": "github/codeql-action/upload-sarif", | ||
| "version": "v3.32.3", | ||
| "sha": "17ec405481c24be464d4b2c5727a82f700ddb189" | ||
| "version": "v3.32.4", | ||
| "sha": "85b88275909735f5bc23196090e03d2eb148b3de" |
There was a problem hiding this comment.
This PR is titled/described as a docs-only fix, but it also updates the pinned version/SHA for github/codeql-action/upload-sarif here. If this pin bump is intentional, please mention it in the PR description (or split it into a separate PR) to avoid surprising reviewers and to keep release notes/changelogs accurate.
The HTTP MCP servers section in
guides/mcps.mdhad a```yaml wrapblock nested inside another```yaml wrapblock. Markdown doesn't support same-depth nested fences, so the inner fence markers rendered as literal text and the YAML lost syntax highlighting (see screenshot above).Changes
docs/src/content/docs/guides/mcps.md— removed the erroneous outer fence and the duplicate description sentence inside it, leaving a single well-formed YAML code block:Similar fences audit
Scanned all docs files for comparable patterns. Other apparent "nested" fences in
data-ops.mdandcentral-repo-ops.mdxuse 4-backtick outer fences intentionally to contain 3-backtick inner blocks — valid Markdown, not bugs.Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.