Structure

Extract information from your documents

Usage

Accepts MDX/markdown content and return structurized data. Useful for implementing document search.

import { structure } from 'next-docs-zeta/mdx-plugins'
 
structure(page.body.raw)

Parameters

Parameter
contentMDX/markdown content
remarkPluginsList of remark plugins
optionsCustom options

Output

StructuredData is returned by the function.

Last updated on