Fix markdown table rendering in preview mode - #2
Draft
cloakedbyte with Copilot wants to merge 2 commits into
Draft
Fix markdown table rendering in preview mode#2cloakedbyte with Copilot wants to merge 2 commits into
cloakedbyte with Copilot wants to merge 2 commits into
Conversation
Agent-Logs-Url: https://github.com/cloakedbyte/draftlocal/sessions/05eb764a-099a-4c3f-b2f9-19283c29e71c Co-authored-by: cloakedbyte <245517538+cloakedbyte@users.noreply.github.com>
CopilotAI
changed the title
[WIP] Fix markdown table alignment issue in preview modeFix markdown table rendering in preview modeApr 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Markdown tables using the minimal
|---|---|separator (no spaces) misrender in several preview environments. Switching to| --- | --- |ensures consistent rendering across GitHub and other standard parsers.Changes
.github/copilot-instructions.md(new): Adds VS Code Copilot agent configuration docs with the correctly formatted three-column tableREADME.md: Updates the Usage table separator from|---|---|→| --- | --- |Before / After
Original prompt
The markdown table shown below does not resemble the expected layout in preview mode. Columns are not aligned, and the table appears disorganized, making it hard to read.
Expected Behavior:
The table should render properly with the columns aligned to clearly show the corresponding headers and content.
Actual Behavior:
The table displayed in preview mode has misaligned columns.
Screenshot:
Steps to Reproduce:
Additional Information:
This impacts the readability of the documentation in the repository, affecting both contributors and reviewers.
The following is the prior conversation context from the user's chat exploration (may be truncated):
User: [problem]: i don't understand where to put an issue in github not sure the pull request is the right place?
[issue found attached as image ] : i.e. tables are not resembling in the preview-mode
Assistant: To address your question about where to put the issue and whether a pull request (PR) is the right place:
Issues and what they are for:
Issues in GitHub are meant to track bugs, enhancements, or questions related to the project. In your case, since you are highlighting a problem with how the tables don't resemble what you expect in preview-mode, it makes sense to create a GitHub issue. Be sure to clearly describe the problem and include the image as a reference. You can also tag the issue appropriately to provide more context (e.g., using labels like
bugordocumentationif applicable).Pull Requests vs. Issues:
If you'd like, I can help you draft a clear and concise issue for your repository's problem, or guide you through creating it. Let me know!
User: so where to put it
Assistant: To address the issue with the incorrect table formatting in preview mode, you should:
Put this in the "Issues" section of your GitHub repository.
Example issue content:
description:applyTo: '**'**= wildcard = all files)If you'd like, I can create this issue for you. Let me know!
User: create the above issue in my github repo
Assistant: The issue has been successfully created in your GitHub repository
cloakedbyte/draftlocal. You can access it in the "Issues" section of your repository on GitHub. Let me know if there's anything else you'd like to adjust or check!This pull request was created from Copilot chat.