Skip to content

Commit 4272529

Browse files
CopilotkatriendgWilliamBerryiii
authored
fix(extension): remove frontmatter from README and exclude from markdown linting (#223)
YAML frontmatter in `extension/README.md` renders as raw text on VS Code Marketplace and extension details pages, displaying metadata fields instead of content. ## Changes * **Removed YAML frontmatter block** from `extension/README.md` (lines 1-12) * Replaced with H1 heading to maintain proper document structure * Frontmatter serves no functional purpose—VS Code uses `package.json` for extension metadata * Extension packaging workflow copies README as-is; does not parse or use frontmatter * **Added `extension/README.md` to `.markdownlint-cli2.jsonc` ignores array** * Prevents markdown linting from enforcing rules on extension README * Markdown linter (MD025/MD041) and frontmatter validation script both support files with or without frontmatter ## Before/After **Before:** ```markdown --- title: HVE Core Extension description: VS Code extension packaging documentation... ms.date: 2025-06-23 keywords: - vscode extension --- > AI-powered chat agents, prompts... ``` **After:** ```markdown # HVE Core Extension > AI-powered chat agents, prompts, and instructions for hybrid virtual environments HVE Core provides... ``` Marketplace now displays content immediately without metadata clutter. <!-- START COPILOT ORIGINAL PROMPT --> <details> <summary>Original prompt</summary> > > ---- > > *This section details on the original issue you should resolve* > > <issue_title>[Issue]: Extension README.MD uses frontmatter causing extension details page to look funny outside of repo</issue_title> > <issue_description>### Issue Description > > While we test the Pre-Release version of the extension, we notice that the usage of a frontmatter section on the ./extension/README.md file is causing display issues on the marketplace and VS Code extension view pages. We need to remove the frontmatter from this page, and potentially ensure there is an exception for the frontmatter requirement for README.md page in the extension folder. > > <img width="2314" height="1879" alt="Image" src="https://github.com/user-attachments/assets/5c46223d-e9ca-4e9c-9799-6cf07df68aa7" /> > > Header display on marketplace: > > <img width="1563" height="1133" alt="Image" src="https://github.com/user-attachments/assets/83939efe-1459-4da4-90ae-47e140e79755" /> > > ### Additional Context > > See the UI display on https://marketplace.visualstudio.com/items?itemName=ise-hve-essentials.hve-core</issue_description> > > <agent_instructions>Before making the change and removing the front-matter, evaluate the impact on our build/CI, and any other checks that may cause issues. Document and then let me decide how to go forward.</agent_instructions> > > ## Comments on the Issue (you are @copilot in this section) > > <comments> > </comments> > </details> <!-- START COPILOT CODING AGENT SUFFIX --> - Fixes #222 <!-- START COPILOT CODING AGENT TIPS --> --- 💡 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](https://gh.io/copilot-coding-agent-tips) in the docs. --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: katriendg <[email protected]> Co-authored-by: Bill Berry <[email protected]>
1 parent d40e742 commit 4272529

2 files changed

Lines changed: 3 additions & 13 deletions

File tree

.markdownlint-cli2.jsonc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"**/packages/**",
55
".copilot-tracking/**",
66
"venv/**",
7-
"scripts/tests/Fixtures/**"
7+
"scripts/tests/Fixtures/**",
8+
"extension/README.md"
89
]
910
}

extension/README.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
1-
---
2-
title: HVE Core Extension
3-
description: VS Code extension packaging documentation for HVE Core Copilot customizations
4-
author: Microsoft
5-
ms.date: 2025-06-23
6-
ms.topic: reference
7-
keywords:
8-
- vscode extension
9-
- packaging
10-
- copilot customizations
11-
estimated_reading_time: 3
12-
---
1+
# HVE Core Extension
132

143
> AI-powered chat agents, prompts, and instructions for hybrid virtual environments
154

0 commit comments

Comments
 (0)