mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-26 19:06:11 +01:00
521 B
521 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!