mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-07 07:55:13 +02:00
Remove the fake terminal chrome (traffic lights + zsh header) and language pill from bash blocks, and the teal left-accent from output blocks. Bash fences now render as minimal cards; text fences route to a muted "output" preview. Make detectLanguage recursive and enable addLanguageClass in source.config.ts so Shiki tokens carry through to the renderer. Switch Shiki themes to min-light / github-dark and disable monospace ligatures so flag pairs like --agents keep a visible space.
17 lines
325 B
TypeScript
17 lines
325 B
TypeScript
import { defineDocs, defineConfig } from "fumadocs-mdx/config";
|
|
|
|
export const docs = defineDocs({
|
|
dir: "content/docs",
|
|
});
|
|
|
|
export default defineConfig({
|
|
mdxOptions: {
|
|
rehypeCodeOptions: {
|
|
addLanguageClass: true,
|
|
themes: {
|
|
light: "min-light",
|
|
dark: "github-dark",
|
|
},
|
|
},
|
|
},
|
|
});
|