Skip to content

Fix table formatting issues under Reusable Prompt heading#126

Merged
codemillmatt merged 2 commits into
mainfrom
copilot/fix-125
Jul 25, 2025
Merged

Fix table formatting issues under Reusable Prompt heading#126
codemillmatt merged 2 commits into
mainfrom
copilot/fix-125

Conversation

Copilot AI commented Jul 25, 2025

Copy link
Copy Markdown
Contributor

The table under the Reusable Prompt heading had formatting issues with broken rows that prevented proper markdown rendering. There were blank lines at rows 123 and 126 that interrupted the table structure, causing content to not display correctly.

Changes Made

  • Used the existing update-readme.js script to regenerate the README.md from scratch
  • Fixed broken table rows that had blank lines interrupting the table structure
  • Ensured all prompt entries are properly formatted with one prompt per row
  • Verified all links to markdown files resolve correctly to existing files in the prompts/ directory

Problem Resolved

The table previously had blank lines that broke the markdown table formatting. The update-readme.js script automatically generated the correct table structure by:

  1. Reading all .prompt.md files from the prompts/ directory
  2. Extracting titles and descriptions from the front matter
  3. Generating proper markdown table rows with install badges
  4. Ensuring proper alphabetical ordering

Validation

  • ✅ All links point to existing markdown files in the prompts/ directory
  • ✅ Table structure is now valid markdown with proper column alignment
  • ✅ Each row displays exactly one prompt with title, description, and install buttons
  • ✅ No more blank lines interrupting the table structure

The table now renders correctly and all content is displayed in proper columns with each row showing exactly one prompt.

Fixes #125.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Co-authored-by: codemillmatt <2053639+codemillmatt@users.noreply.github.com>
Copilot AI changed the title [WIP] Table formatting issues under Reusable Prompt heading Fix table formatting issues under Reusable Prompt heading Jul 25, 2025
Copilot AI requested a review from codemillmatt July 25, 2025 02:39
@codemillmatt codemillmatt marked this pull request as ready for review July 25, 2025 02:40
Copilot AI review requested due to automatic review settings July 25, 2025 02:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 fixes table formatting issues in the README.md file under the Reusable Prompt heading by using the update-readme.js script to regenerate the content and remove problematic blank lines that were breaking the markdown table structure.

  • Fixed broken table rows that had blank lines interrupting the table structure
  • Corrected title formatting for one entry from ".NET WPF" to "Dotnet Wpf"
  • Reorganized table entries to ensure proper alphabetical ordering
Comments suppressed due to low confidence (1)

README.md:39

  • The title 'Dotnet Wpf' is inconsistent with the naming pattern used elsewhere in the table. It should be '.NET WPF' to match the original format and maintain consistency with other .NET entries like '.NET MAUI'.
| [Dotnet Wpf](instructions/dotnet-wpf.instructions.md) | .NET WPF component and application patterns | [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://vscode.dev/redirect?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fdotnet-wpf.instructions.md) [![Install in VS Code](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fdotnet-wpf.instructions.md) |

@codemillmatt codemillmatt merged commit ef8e026 into main Jul 25, 2025
4 checks passed
@codemillmatt codemillmatt deleted the copilot/fix-125 branch July 25, 2025 02:42
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.

Table formatting issues under Reusable Prompt heading

3 participants