Something went wrong. Try again.
The weeb for the next gen discord boat - Wamellow wamellow.com
bot discord
Something went wrong. Try again.
mellow-web source.config.ts
454 B · 17 lines
TypeScript
1234567891011121314151617import { defineConfig } from "fumadocs-mdx/config";
const NOT_ASCII_REGEX = /[^a-zA-Z0-9- ]/g;const SPACES_REGEX = / +/g;
export default defineConfig({ mdxOptions: { remarkImageOptions: false, remarkHeadingOptions: { slug: (_root, _heading, text) => text .toLowerCase() .replace(NOT_ASCII_REGEX, "") .trim() .replace(SPACES_REGEX, "-") } }});