tanstack-highlight

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
<!-- Generated by scripts/build-groups.mjs. Do not edit directly. -->
<!-- 由 scripts/build-groups.mjs 生成。请勿直接编辑。 -->

TanStack Highlight

TanStack Highlight

Syntax-highlighting guidance for language support, selective loading, Markdown pipelines, themes, and annotations.
Confirm the installed package version.
关于语言支持、按需加载、Markdown 管道、主题和注释的语法高亮指导。
确认已安装的包版本。

Workflow

工作流

  1. Inspect installed TanStack packages and exact versions.
  2. Read the adapter reference for the detected framework when the task uses an adapter.
  3. Topic references are indexes. Choose one guide or section for the task; follow its prerequisite links only when needed.
  4. Prefer installed package types and version-matched source guidance over memory.
  5. Preserve headless/core behavior when translating examples to a framework adapter.
  1. 检查已安装的 TanStack 包及其确切版本。
  2. 如果任务使用适配器,请阅读检测到的框架所对应的适配器参考文档。
  3. 主题参考文档是索引。请根据任务选择一个指南或章节;仅在需要时遵循其中的前置链接。
  4. 优先使用已安装包的类型定义和与版本匹配的源码指导,而非依赖记忆。
  5. 将示例转换为框架适配器时,保留 headless/core 行为。

Task routing

任务路由

  • Languages and configuration — Selective highlighting and language extension.
  • Framework and Markdown integration — Framework code blocks and Markdown pipelines.
  • Themes and annotations — Themes, styling, and annotations.
  • 语言与配置——按需高亮和语言扩展。
  • 框架与 Markdown 集成——框架代码块和 Markdown 管道。
  • 主题与注释——主题、样式和注释。

Framework routing

框架路由

  • Vanilla — detect
    @tanstack/highlight
    . Read Languages and configuration. Shared guidance; check adapter-specific differences.
  • React — detect
    @tanstack/highlight/react
    . Read Framework and Markdown integration. Shared guidance; check adapter-specific differences.
  • Vanilla——检测
    @tanstack/highlight
    。阅读语言与配置。这是通用指导;同时检查适配器特有的差异。
  • React——检测
    @tanstack/highlight/react
    。阅读框架与 Markdown 集成。这是通用指导;同时检查适配器特有的差异。

Product boundaries

产品边界

Use these separate product skills when the task crosses their boundary:
tanstack-markdown
.
See source provenance for exact upstream inputs and deduplication records.
当任务跨越产品边界时,请使用以下独立的产品 skill:
tanstack-markdown
。
有关确切的上游输入和去重记录,请参阅来源溯源。