Skip to content
Source
Sign inSign up
TanStack/markdown

Clarify Markdown contracts and documentation #27

Mergedtannerlinsleymerged 2 commits intomain fromcodex/clarify-markdown-docsmerged by tannerlinsley

tannerlinsleycommented

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. coderabbitai[bot](GitHub profile, opens in a new tab)commented
      Review in Change Stack →

      No actionable comments were generated in the recent review.

      Recent review info
      Run configuration
      • Source mode: Auto
      • Repository: Unavailable
      • Branch: Unavailable
      • File: No configuration file from this repository applied
      • Commit: Unavailable
      • Layers: defaults
      • Review profile: CHILL
      • Plan: Advanced
      • Run ID: 076f7749-dd2d-4857-b4dc-50e9d6859726
      Commits

      Reviewing files that changed from the base of the PR and between d9b5ef7133ba514f7269cd8f29b5719cd34f5836 and 3385b4ccff9c15ea3a9365ac46b51f11e1ab2383.

      Files selected for processing: 18
      • .changeset/markdown-version-one-guidance.md
      • README.md
      • docs/comparison.md
      • docs/core-concepts/document-model.md
      • docs/core-concepts/syntax-profile.md
      • docs/guides/ai-streaming.md
      • docs/guides/docs-preset.md
      • docs/guides/octane.md
      • docs/guides/performance.md
      • docs/installation.md
      • docs/overview.md
      • docs/project/architecture.md
      • docs/project/faq.md
      • docs/reference/octane.md
      • skills/_artifacts/domain_map.yaml
      • skills/_artifacts/skill_spec.md
      • skills/render-markdown/SKILL.md
      • skills/render-markdown/references/ast-and-options.md

      Included 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

      Layer / File(s)Summary
      Bundle measurement and performance guidance
      .changeset/markdown-version-one-guidance.md, README.md, docs/comparison.md, docs/guides/docs-preset.md, docs/guides/performance.md, docs/overview.md
      Replaces fixed bundle-size claims with generated report references and explains measurement profiles and scope. Performance guidance directs readers to benchmark comparisons.
      Version 1 AST compatibility
      docs/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.md
      Describes support for valid 1.x ASTs, producer-version recording, cache rebuilding to adopt parser fixes, and the lack of a stable byte-for-byte HTML contract.
      Streaming behavior and syntax limits
      docs/core-concepts/syntax-profile.md, docs/guides/ai-streaming.md, docs/overview.md
      Clarifies that streaming updates reparse the full accumulated source and that core parsing limits do not cover total input size or arbitrary extension work.
      Package scope and adapter support
      README.md, docs/overview.md, docs/project/architecture.md, docs/project/faq.md, docs/guides/octane.md, docs/installation.md, docs/reference/octane.md
      Clarifies renderer and extension descriptions. Octane guidance identifies 0.1.12 as tested and explains that newer pre-1.0 releases are not guaranteed compatible.

      Estimated code review effort: 2 (Simple) | ~12 minutes

      Change: Other

      Merge Risk: Minimal · up to 3385b

      The changes clarify bundle measurements, Version 1 AST compatibility, streaming limits, and tested adapter versions. No merge-blocking risk was identified.

      Pre-merge checks: Passed 4
      Check nameStatusExplanation
      Description CheckPassedCheck skipped - CodeRabbit’s high-level summary is enabled.
      Title checkPassedThe 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 bundl…
      Linked Issues checkPassedCheck skipped because no linked issues were found for this pull request.
      Out of Scope Changes checkPassedCheck skipped because no linked issues were found for this pull request.
      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)
      • Commit to this branch
      • Create a new PR
      • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

      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
    2. 🦋 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
      NameType
      @tanstack/markdownPatch

      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

    3. tannerlinsley merged thisf5b7245

    4. tannerlinsley closed this

Sign in to join this conversation.