Interface: MarkdownConfig

Properties

theme

optional

theme: BundledTheme | { light: BundledTheme; dark: BundledTheme }

Syntax highlighting theme

lineNumbers

optional

lineNumbers: boolean

Show line numbers in code blocks

anchor

optional

anchor: boolean

Enable anchor links for headings

toc

optional

toc: { level?: [number, number] }

Table of contents configuration

remarkPlugins

optional

remarkPlugins: unknown[]

Remark plugins

rehypePlugins

optional

rehypePlugins: unknown[]

Rehype plugins

Source

config/types.ts


← InfoProps | NavItem →