Skip to content

Latest commit

 

History

History
executable file
·
17 lines (13 loc) · 523 Bytes

File metadata and controls

executable file
·
17 lines (13 loc) · 523 Bytes
id mdx
title 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!