docs: restore GFM table rendering in MDX pages#396
Merged
Conversation
Astro 5+/6 removed remark-gfm from MDX processing by default, causing markdown tables to render as raw pipe-delimited text across all 98 MDX pages that use tables. Add remark-gfm as a direct dependency and enable it in the Astro markdown config. Signed-off-by: Rhuan Barreto <rhuan@barreto.work>
Deploying archgate-cli with
|
| Latest commit: |
1088394
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://ddcebaed.archgate-cli.pages.dev |
| Branch Preview URL: | https://fix-docs-table-rendering.archgate-cli.pages.dev |
Contributor
Code Coverage
Full HTML report available in workflow artifacts. Per-directory breakdown
|
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 free
to 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.
Summary
remark-gfmfrom MDX processing by default, causing all markdown tables across the docs site to render as raw pipe-delimited text instead of proper<table>HTMLremark-gfmas a direct dependency and enabled it viamarkdown: { remarkPlugins: [remarkGfm] }inastro.config.mjsTest plan
bun run buildindocs/succeeds — both tables on/getting-started/installation/produce<table>elements in the output HTML/,/pt-br/,/nb/) render 2 tables eachbun run validatepasses (lint, typecheck, format, ADR check, knip, build)