Using mdx in Frosti
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
Getting started
First you need to create an mdx
file, which is as simple as changing the extension to .mdx
.
Introducing
The components provided by Frosti are placed in the /blog
and /page
folders. Write something in the document properties (frontmatter):
Example
Collapse
This is an example text.
This is the hidden content!
Diff
Error
Maybe something went wrong? Warning
Hey! Watch out for potholes! Message
Success
Congratulations on your successful deployment! Kbd
Ctrl + C to copy the text.
TimeLine
1984
First Macintosh computer
iMac
1998
2001
iPod
iPhone
2007
2015
Apple Watch
LinkCard