Clarify Markdown contracts and documentation #27
main fromcodex/clarify-markdown-docs·merged by tannerlinsley Correct stale pre-1.0 AST guidance and explain the existing 1.x compatibility policy, selected-function versus complete-entry bundle measurements, full-source streaming reparsing, runtime limits, and tested adapter versions. Keep the shipped Markdown skill guidance consistent with the docs.
Includes a patch changeset so the corrected README and skills reach the published package. Parser, renderer, API examples, and generated measurements are unchanged.
Validation on the updated branch: all 286 tests, typecheck, build, documentation verification for 28 pages and public exports, six shipped skills and version checks, changeset status, and diff checks pass. Runtime source, scripts, dependencies, tests, and workflows match current main. CI on the updated head is pending. No merge or release is claimed.
Summary by CodeRabbit#
- Documentation
- Clarified Version 1 AST compatibility, including guidance for persisted documents and rebuilding caches to adopt parser fixes.
- Replaced fixed bundle-size claims with generated reports that explain measurement scope and import profiles.
- Documented that streaming updates reparse the full source and may change earlier parsing; batching updates is recommended for frequent updates.
- Clarified parsing resource limits and Octane adapter compatibility guidance.
- Updated extension guidance and examples of when to use a broader documentation stack.
- 1
🦋 Changeset detected#
Latest commit: 3385b4ccff9c15ea3a9365ac46b51f11e1ab2383
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
Name Type @tanstack/markdown Patch Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
tannerlinsley merged thisf5b7245
tannerlinsley closed this
Sign in to join this conversation.
No actionable comments were generated in the recent review.
076f7749-dd2d-4857-b4dc-50e9d6859726Reviewing files that changed from the base of the PR and between d9b5ef7133ba514f7269cd8f29b5719cd34f5836 and 3385b4ccff9c15ea3a9365ac46b51f11e1ab2383.
.changeset/markdown-version-one-guidance.mdREADME.mddocs/comparison.mddocs/core-concepts/document-model.mddocs/core-concepts/syntax-profile.mddocs/guides/ai-streaming.mddocs/guides/docs-preset.mddocs/guides/octane.mddocs/guides/performance.mddocs/installation.mddocs/overview.mddocs/project/architecture.mddocs/project/faq.mddocs/reference/octane.mdskills/_artifacts/domain_map.yamlskills/_artifacts/skill_spec.mdskills/render-markdown/SKILL.mdskills/render-markdown/references/ast-and-options.mdIncluded review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.
Walkthrough
Documentation and release notes update bundle-measurement descriptions, Version 1 AST compatibility guidance, streaming behavior, syntax limits, and Octane adapter support statements.
Changes: Documentation and release guidance
.changeset/markdown-version-one-guidance.md,README.md,docs/comparison.md,docs/guides/docs-preset.md,docs/guides/performance.md,docs/overview.mddocs/core-concepts/document-model.md,skills/render-markdown/SKILL.md,skills/render-markdown/references/ast-and-options.md,skills/_artifacts/domain_map.yaml,skills/_artifacts/skill_spec.mddocs/core-concepts/syntax-profile.md,docs/guides/ai-streaming.md,docs/overview.mdREADME.md,docs/overview.md,docs/project/architecture.md,docs/project/faq.md,docs/guides/octane.md,docs/installation.md,docs/reference/octane.mdEstimated code review effort: 2 (Simple) | ~12 minutes
Change: Other
Merge Risk:
Minimal · up to
3385bThe changes clarify bundle measurements, Version 1 AST compatibility, streaming limits, and tested adapter versions. No merge-blocking risk was identified.
Pre-merge checks:
4
Full details: Title check
Explanation
The title "Clarify Markdown contracts and documentation" fits the changeset. The diff updates README and docs to correct stale pre-1.0 AST guidance, explain the 1.x compatibility policy, clarify bundle measurement scope, streaming reparsing, runtime limits, and tested adapter versions. It also updates the shipped skill guidance and the domain map. The title is broad and does not name the specific fixes, but it refers to the main change and is not misleading.
Finishing Touches
Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share