Skip to content
rehype-code-group

Agent resources

The documentation is published in both human-readable HTML and compact Markdown. AI assistants should start with the index, retrieve only the pages relevant to the task, and use the repository when implementation details are required.

Machine-readable endpoints

ResourcePurpose
https://rehype-code-group.pages.dev/llms.txtConcise page index with titles and descriptions
https://rehype-code-group.pages.dev/llms-full.txtComplete documentation in one file
https://rehype-code-group.pages.dev/index.mdMarkdown version of the package home page
https://rehype-code-group.pages.dev/getting-started.mdFocused installation and first-group guide
https://rehype-code-group.pages.dev/guides/syntax.mdAuthoring syntax in Markdown
GitHub sourcePlugin, client, styles, tests, and documentation source

Vocs also exposes Copy page for AI and View as Markdown from the Ask AI menu on every documentation page.

Suggested agent workflow

Read the index

Use /llms.txt to identify the smallest relevant set of pages instead of loading the complete site.

Read focused Markdown

Open the page's .md URL. Code-group previews are converted into concise textual summaries, while source examples remain ordinary fenced code blocks.

Verify against source

Use the GitHub repository for exact types, runtime behavior, and tests. Documentation explains the supported contract; source establishes the current implementation.

Preserve package guarantees

Changes should retain progressive enhancement, ARIA tab semantics, keyboard behavior, deterministic IDs, CSP-safe asset modes, and the no-JavaScript fallback.

Copyable instruction