with using evaluate | with using MDXRemote |
|
|
Read in 10 min., written by toctoc
Hello {props.foo} is working.
I am a dynamic component
Marked texts: text with yellow, text with red, text with green, and text with blue.
Some markdown content 👍
Alert Text Centered
Warning Text Aligned Right
You have to put an empty line after export
statements in the mdx files.
Can you explain why the exports
may cause harmful activities ?
disableExports: true
option to remove all export
statementsrecma
plugin to remove all exports other than default,
but the declarations stay and work in the mdx (needs a recma plugin)
What do you think about that?
Recma plugins are very usefull for solving specific mdx issues.
The remark plugin remark-flexible-toc
is the tool for creating TOC, especially for the mdx users.
You can create a custom <Toc />
component, and use it in the mdx file like <Toc toc={toc} />
.
The remark-flexible-containers
can also make this kind of details
-summary
HTML elements.
typescript// prettier-ignore
function Text(text: string) {console.log(text)}
const text = "next-mdx-remote-client";
Text(text);
Autolink www.example.com and inline code
.
one tilde strikethrough or two tildes strikethrough
Left Aligned Header | Right Aligned Header |
---|---|
Content Cell | Content Cell |
Content Cell | Content Cell |
"Authorize <GITHUB_USER>"
version of <operation>.<mount> <= 1.3.x
< 8ms (allowed one blank after "<")
escape opening curlybraces "{}"
Centering text and image is very easy !
The
@import
is used to import style rules from other valid stylesheets. blockquate markdown element
The
@import
is used to import style rules from other valid stylesheets. custom blockquate element
Read in 10 min., written by toctoc
Hello {props.foo} is working.
I am a dynamic component
Marked texts: text with yellow, text with red, text with green, and text with blue.
Some markdown content 👍
Alert Text Centered
Warning Text Aligned Right
You have to put an empty line after export
statements in the mdx files.
Can you explain why the exports
may cause harmful activities ?
disableExports: true
option to remove all export
statementsrecma
plugin to remove all exports other than default,
but the declarations stay and work in the mdx (needs a recma plugin)
What do you think about that?
Recma plugins are very usefull for solving specific mdx issues.
The remark plugin remark-flexible-toc
is the tool for creating TOC, especially for the mdx users.
You can create a custom <Toc />
component, and use it in the mdx file like <Toc toc={toc} />
.
The remark-flexible-containers
can also make this kind of details
-summary
HTML elements.
typescript// prettier-ignore
function Text(text: string) {console.log(text)}
const text = "next-mdx-remote-client";
Text(text);
Autolink www.example.com and inline code
.
one tilde strikethrough or two tildes strikethrough
Left Aligned Header | Right Aligned Header |
---|---|
Content Cell | Content Cell |
Content Cell | Content Cell |
"Authorize <GITHUB_USER>"
version of <operation>.<mount> <= 1.3.x
< 8ms (allowed one blank after "<")
escape opening curlybraces "{}"
Centering text and image is very easy !
The
@import
is used to import style rules from other valid stylesheets. blockquate markdown element
The
@import
is used to import style rules from other valid stylesheets. custom blockquate element