mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-07 13:22:26 +02:00
* misc: add command to run prettier on docs * Fix GH issue template * Fix tests * Add prettier-docs command to precommit
523 B
523 B
id | title |
---|---|
mdx | Powered by MDX |
You can write JSX and use React components within your Markdown thanks to MDX.
export const Highlight = ({children, color}) => ( <span style={{ backgroundColor: color, borderRadius: '2px', color: '#fff', padding: '0.2rem', }}> {children} );
Docusaurus green and Facebook blue are my favorite colors.
I can write Markdown alongside my JSX!