Skip to content

fix(docs): astro table rendering#865

Draft
lizradway wants to merge 1 commit into
strands-agents:mainfrom
lizradway:tables
Draft

fix(docs): astro table rendering#865
lizradway wants to merge 1 commit into
strands-agents:mainfrom
lizradway:tables

Conversation

@lizradway
Copy link
Copy Markdown
Member

Description

Tables in .mdx files across the site render as raw pipe-delimited text instead of HTML <table> elements. This was introduced in e1f5910 which added a manual mdx() integration to site/astro.config.mjs. When mdx() is registered explicitly before Starlight, it doesn't inherit Starlight's built-in remark-gfm plugin, which provides GFM table parsing.

This PR installs remark-gfm and passes it to the mdx() integration so tables render correctly on all pages.

Related Issues

N/A

Type of Change

  • Bug fix

Checklist

  • I have read the CONTRIBUTING document
  • My changes follow the project's documentation style
  • I have tested the documentation locally using npm run dev
  • Links in the documentation are valid and working

The fix: added remark-gfm as a devDependency and configured mdx({ remarkPlugins: [remarkGfm] }) in site/astro.config.mjs. Build passes; the /llms-full.txt Tab error is pre-existing and unrelated.

@strands-agent
Copy link
Copy Markdown
Contributor

This repository has been merged into the strands-agents/harness-sdk monorepo and will be archived shortly. All new development happens there.

If this PR is still relevant, please recreate it against the monorepo. The code now lives under site/. Full commit history was preserved, so your base should be findable.

Apologies for the disruption, and thank you for contributing!

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.

2 participants