For AI agents: the complete documentation index is available at /zh/llms.txt, the full documentation bundle is available at /zh/llms-full.txt, and this page is available as Markdown at /zh/index.md.
  • 中文
  • react-wikitext

    用于渲染 wikitext 的 React 组件

    全流程强类型

    解析器 → 语义 AST → HAST → React,每一阶段都有类型、可检查、可替换。

    默认安全

    只输出 React 元素,不输出 HTML 字符串,清洗始终在插件之后执行。

    模板按需展开

    支持通过宿主提供的解析函数按需展开模板。

    wikitext 源码
    渲染预览