Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 20, 2026

Enables fumadocs features for better documentation: GFM tables/task lists, LaTeX math rendering, enhanced code highlighting with themes, and automatic heading anchors with navigation.

Changes

MDX Plugins (source.config.ts)

  • remarkGfm: Tables, strikethrough, task lists
  • remarkMath + rehypeKatex: LaTeX equation support with CSS
  • rehypeCode: Syntax highlighting with github-light/github-dark themes
  • rehypeSlug + rehypeAutolinkHeadings: Auto-generated heading anchors
export default defineConfig({
  mdxOptions: {
    remarkPlugins: [remarkGfm, remarkMath],
    rehypePlugins: [
      rehypeSlug,
      [rehypeAutolinkHeadings, { behavior: 'wrap' }],
      rehypeKatex,
      [rehypeCode, { themes: { light: 'github-light', dark: 'github-dark' } }],
    ],
  },
});

UI Enhancements (layout.config.tsx)

  • Sidebar banner with documentation title
  • TOC footer with "Edit on GitHub" links
  • Last updated timestamp support
  • Consolidated TOC configuration

Demo Page

Added /docs/features-demo demonstrating all enabled features with examples of tables, math equations, code blocks, and task lists.

Screenshots

Main documentation page with enhanced navigation:
Fumadocs Features

Features demo page:
Features Demo

Dependencies Added

remark-gfm, remark-math, rehype-katex, rehype-autolink-headings, rehype-slug, katex

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • www.fumadocs.dev
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

启用fumadocs的各种有用的功能和插件


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@vercel
Copy link

vercel bot commented Jan 20, 2026

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

Project Deployment Review Updated (UTC)
objectql-site Ready Ready Preview, Comment Jan 20, 2026 2:32pm

Request Review

Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
Copilot AI changed the title [WIP] Add various useful features and plugins for fumadocs Enable fumadocs MDX plugins and UI enhancements Jan 20, 2026
Copilot AI requested a review from huangyiirene January 20, 2026 14:27
@github-actions
Copy link
Contributor

⚠️ No Changeset Found

This PR does not include a changeset file.
If this PR includes user-facing changes, please add a changeset by running:

pnpm changeset

@huangyiirene huangyiirene marked this pull request as ready for review January 20, 2026 14:32
@github-actions
Copy link
Contributor

⚠️ No Changeset Found

This PR does not include a changeset file.
If this PR includes user-facing changes, please add a changeset by running:

pnpm changeset

@huangyiirene huangyiirene merged commit df4eabb into main Jan 20, 2026
14 checks passed
@huangyiirene huangyiirene deleted the copilot/enable-fumadocs-features-plugins branch January 20, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants