#3614·fumadocs

[Bug][Examples] `tanstack-start-openapi` shows the operation description twice, first as raw Markdown

Author: mehnoorsiddiquiCreated Sep 29, 2026Updated Sep 29, 2026

To Reproduce

In examples/tanstack-start-openapi, open an operation page whose description contains Markdown (a heading, a link or a list).

Current vs. Expected behavior

Current: Under the title, <DocsDescription>{page.description}</DocsDescription> shows the description as plain text, with ##, [text](url) and * visible, all on one line. Below it, <OpenAPIPage> renders the same description again as Markdown.

Expected: The description appears once, rendered.

Framework

Tanstack Start

Provide environment information

bash
Framework: TanStack Start 1.168.50 (@tanstack/react-router 1.170.33), Vite 8.2.2
Operating System:
  Platform: win32
Binaries:
  Node: 24.12.0
Relevant Packages:
  fumadocs-core: 16.15.15
  fumadocs-ui: 16.15.15
  fumadocs-mdx: 15.4.0
  fumadocs-openapi: 11.4.1
  react: 19.2.8
  react-dom: 19.2.8

Which area(s) are affected? (Select all that apply)

Examples

Additional context

Observed on the versions above. The same code is in fumadocs-openapi 12.0.4 and on dev as of 1bc5374; source paths are relative to packages/ on that commit.

For OpenAPI pages, page.data.description is operation.description ?? pathItem.description, which is Markdown (openapi/src/utils/pages/preset-auto.ts). The page props also set showDescription: true (openapi/src/utils/pages/builder.ts), so OperationContent already renders it with <Markdown>. For type === 'openapi', the example could drop <DocsDescription>. The raw value also ends up in <meta name="description"> wherever apps use it for SEO, so a plain-text description field (or a documented helper) would help too.