Skip to main content

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}
</span>
)

<Highlight color="#25c2a0">Docusaurus green</Highlight> and <Highlight color="#1877F2">Facebook blue</Highlight> are my favorite colors.

https://niara-dev-docs.niara.tech
Docusaurus green and Facebook blue are my favorite colors.

I can write Markdown alongside my JSX!