mirror of
https://github.com/hanzoai/mdx.git
synced 2026-10-30 18:28:01 +00:00
MDX processing library for Hanzo documentation sites. Forked from fumadocs-mdx with Hanzo-specific enhancements. Features: - Next.js integration via @hanzo/mdx/next - Vite support via @hanzo/mdx/vite - Config utilities via @hanzo/mdx/config - CLI tool: hanzo-mdx
30 lines
375 B
Plaintext
30 lines
375 B
Plaintext
## Using JSX
|
|
|
|
Full:
|
|
|
|
<include>./test.mdx</include>
|
|
|
|
First Heading:
|
|
|
|
<include>./test.mdx#heading</include>
|
|
|
|
In JSX:
|
|
|
|
<include>./test.mdx#section-in-jsx</include>
|
|
|
|
In Directive:
|
|
|
|
<include>./test.mdx#section-in-directive</include>
|
|
|
|
## Using Directives
|
|
|
|
In Directive:
|
|
|
|
:::include
|
|
./test.mdx#section-in-directive
|
|
:::
|
|
|
|
Inline Directive:
|
|
|
|
::include[./test.mdx#section-in-directive]
|