Skip to content

fix(layer): serve agent markdown as markdown/html - #1449

Merged
larbish merged 1 commit into
mainfrom
fix/raw-md
Oct 5, 2026
Merged

larbish merged 1 commit into
mainfrom
fix/raw-md

Conversation

@larbish

@larbish larbish commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator

Sets agentDiscovery.markdownFormat to markdown/html in the layer defaults.

  • The markdown/comark default from nuxt-agent-discovery breaks nested components and slots: siblings end up on one line, and nesting and colon depth are lost (e.g. /raw/en.md, /raw/en/essentials/components.md).
  • markdown/html outputs components as nested HTML tags, which is what the previous @nuxt/content raw route did.
  • Applies to /raw/**, .md URLs, markdown negotiation and the MCP get-page tool; still overridable through agentDiscovery.markdownFormat.

The markdown/comark can be used with Comark project which is not YET the case of Docus.

🤖 Generated with Claude Code, reviewed by @larbish before opening.

@vercel

vercel Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docus Ready Ready Preview Oct 5, 2026 4:58pm UTC

@pkg-pr-new

pkg-pr-new Bot commented Oct 5, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/create-docus@1449
npm i https://pkg.pr.new/docus@1449

commit: 8982868

@larbish
larbish merged commit 6881e06 into main Oct 5, 2026
11 checks passed
@larbish
larbish deleted the fix/raw-md branch October 5, 2026 17:03

This branch was successfully deployed

1 active deployment
Preview — 8982868b Deployed Oct 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant