Table of Contents
Preface Link to Preface
This article describes how to use the components provided by Frosti in mdx
to realize the functions that can’t be realized by normal md
.
Main text Link to Main text
Getting started Link to Getting started
First you need to create an mdx
file, which is as simple as changing the extension to .mdx
.
Introducing Link to Introducing
The components provided by Frosti are placed in the /mdx
folders. Write something under the document properties (frontmatter):
Example Link to Example
Collapse Link to Collapse
This is an example text.
This is the hidden content!
Diff Link to Diff
Error Link to Error
Maybe something went wrong? www.baidu.com
Warning Link to Warning
Hey! Watch out for potholes!
Message Link to Message
It’s just a message.
Success Link to Success
Congratulations on your successful deployment!
Kbd Link to Kbd
Ctrl + C to copy the text.
TimeLine Link to TimeLine
LinkCard Link to LinkCard
Thanks for reading!
Using mdx in Frosti
© Tanguy Frageul | CC BY-SA 4.0