Skip to Content
🎉 Nextra 4.0 is released. dimaMachina is looking for a new job or consulting .
APInextra

nextra function

Exported from nextra.

Signature

Parameters:
NameTypeDefault
nextraConfig.defaultShowCopyCodeboolean | undefined
nextraConfig.searchboolean | { codeblocks: boolean; } | undefined
nextraConfig.staticImageboolean | undefined
nextraConfig.readingTimeboolean | undefined
nextraConfig.latexboolean | { renderer: "mathjax"; options?: { src?: string | undefined; config?: MathJaxConfig | undefined; } | undefined; } | { options: rehype_katex_lib_index_js.Options; renderer: "katex"; } | undefined
nextraConfig.codeHighlightboolean | undefined
nextraConfig.mdxOptions{ rehypePlugins?: any; remarkPlugins?: any; recmaPlugins?: any; format?: "detect" | "mdx" | "md" | undefined; rehypePrettyCodeOptions?: Options | undefined; } | undefined
nextraConfig.whiteListTagsStylingstring[] | undefined
nextraConfig.contentDirBasePathstring | undefined
Returns:
(nextConfig: NextConfig) => NextConfig