Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
f910d09 to
3ae989a
Compare
|
AI review status for this pull request.
|
3ae989a to
d1d9f0f
Compare
d1d9f0f to
0eb936a
Compare
Summary: Keep Markdown’s existing code-block wrapper, density rhythm, max-width, alignment, and first/last edge handling when a semantic fence renderer replaces the ordinary CodeBlock. Keep the fallback inside that same wrapper so loading and failure do not shift layout. Test Plan: - pnpm exec vitest run packages/core/src/Markdown/plugins/semanticFence.test.tsx packages/core/src/Markdown/ansi/ansi.test.tsx packages/core/src/Markdown/mermaid/mermaid.test.tsx packages/core/src/Markdown/shiki/shiki.test.tsx --root . - pnpm --filter @astryxdesign/core typecheck
Summary: Add one integrated Storybook state for document presentation, heading permalinks, footnotes, KaTeX, Mermaid, ANSI, and Shiki. Assert that each lazy renderer resolves and the navigation affordances remain present. Test Plan: - pnpm --filter @astryxdesign/storybook typecheck - pnpm --filter @astryxdesign/storybook build - Playwright visual inspection at 1200px and 390px in light mode and 1200px in dark mode
0eb936a to
729954e
Compare
|
@cixzhang — I’d appreciate your feedback on this draft. Focus: Contributors can exercise document presentation, permalinks, footnotes, KaTeX, Mermaid, ANSI, and Shiki together in one maintained Storybook scenario. This is PR 20/20 in the linked Markdown stack. It is intentionally one commit and one primary intent; the description includes matched before/after screenshots and previous/next links, so you can review just this PR’s delta. |
humbertovirtudes
left a comment
There was a problem hiding this comment.
Two changes are needed before this story is reliable and scoped. The Shiki wait accepts the ordinary CodeBlock tokenizer’s .astryx-token-keyword, so it can pass without Shiki completing; please assert output unique to the Shiki result. This PR also adds 15 screenshots under earlier PR IDs (#6656 through #6674). Please move those assets to their owning changes or remove them, retaining only the #6675 evidence needed here.
PR Analysis Report
Modified ComponentsOutline (@astryxdesign/core)
Bundle Size Summary
Accessibility AuditStatus: No accessibility violations detected. Visual Regression3 of 422 shot(s) changed. A change here is a question, not a failure: check whether the after is the
Generated by PR Enrichment workflow | View full report |
Reader impact
Contributors can exercise document presentation, permalinks, footnotes, KaTeX, Mermaid, ANSI, and Shiki together in one maintained Storybook scenario.
Source of truth
The shipped Core Markdown APIs and AST-039 integration contracts. Pinned source.
Correction
Add an Optional renderers Storybook story with play assertions for all four async adapters and the surrounding document features.
Evidence
Real-browser evidence
The final state was also checked at 1200px and 390px, in light and dark modes, with no root horizontal overflow.
Scope
Testing
pnpm exec vitest run packages/core/src/Markdown packages/core/src/CodeBlock— 37 files, 760 tests.pnpm --filter @astryxdesign/core typecheck.pnpm check:repo.Stack
Previous: #6674 · Each PR is intentionally one commit and one primary intent.