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
76 lines
830 B
Plaintext
76 lines
830 B
Plaintext
## Using JSX
|
|
|
|
Full:
|
|
|
|
# Hello World \[#heading]
|
|
|
|
Hey there!
|
|
|
|
<section id="section-in-jsx">
|
|
This is My Test.
|
|
|
|
### Nested Heading
|
|
|
|
```ts
|
|
console.log('Hello World');
|
|
```
|
|
</section>
|
|
|
|
:::section{#section-in-directive}
|
|
### Heading in Directive
|
|
|
|
some content inside.
|
|
:::
|
|
|
|
First Heading:
|
|
|
|
# Hello World
|
|
|
|
Hey there!
|
|
|
|
<section id="section-in-jsx">
|
|
This is My Test.
|
|
|
|
### Nested Heading
|
|
|
|
```ts
|
|
console.log('Hello World');
|
|
```
|
|
</section>
|
|
|
|
:::section{#section-in-directive}
|
|
### Heading in Directive
|
|
|
|
some content inside.
|
|
:::
|
|
|
|
In JSX:
|
|
|
|
This is My Test.
|
|
|
|
### Nested Heading
|
|
|
|
```ts
|
|
console.log('Hello World');
|
|
```
|
|
|
|
In Directive:
|
|
|
|
### Heading in Directive
|
|
|
|
some content inside.
|
|
|
|
## Using Directives
|
|
|
|
In Directive:
|
|
|
|
### Heading in Directive
|
|
|
|
some content inside.
|
|
|
|
Inline Directive:
|
|
|
|
### Heading in Directive
|
|
|
|
some content inside.
|