diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2020-07-26 19:03:50 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2020-07-26 19:03:50 -0300 |
commit | 98d4292f1c492c217f3dde9c44052a15b62137b9 (patch) | |
tree | ff995de7c82de29310ef8cad218297eb8c1edad4 /docusaurus/docs/mdx.md | |
parent | 87fea1875172141fd12a633110ef964e9c4ba10e (diff) | |
download | PSP.git-98d4292f1c492c217f3dde9c44052a15b62137b9.tar.gz PSP.git-98d4292f1c492c217f3dde9c44052a15b62137b9.tar.xz PSP.git-98d4292f1c492c217f3dde9c44052a15b62137b9.zip |
Documentation update
Diffstat (limited to 'docusaurus/docs/mdx.md')
-rw-r--r-- | docusaurus/docs/mdx.md | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/docusaurus/docs/mdx.md b/docusaurus/docs/mdx.md deleted file mode 100644 index f0210fb..0000000 --- a/docusaurus/docs/mdx.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -id: mdx -title: Powered by MDX ---- - -You can write JSX and use React components within your Markdown thanks to [MDX](https://mdxjs.com/). - -export const Highlight = ({children, color}) => ( <span style={{ - backgroundColor: color, - borderRadius: '2px', - color: '#fff', - padding: '0.2rem', - }}>{children}</span> ); - -<Highlight color="#25c2a0">Docusaurus green</Highlight> and <Highlight color="#1877F2">Facebook blue</Highlight> are my favorite colors. - -I can write **Markdown** alongside my _JSX_! |