mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-30 02:37:59 +02:00
* refactor: simplify imported code blocks - Use `language=<lang>` prop instead of "className="language-<lang>" for imported code blocks I've been using this in my personal projects ([example](https://raw.githubusercontent.com/nathan-contino-mongo/docusaurus-realm/9a2ebb6a43bbbd7b38899fcc86c903dcc1f61283/docs/sdk/kotlin/migrate-from-java-sdk.mdx)) since it is less verbose. If this interface is somehow less stable than the `className` prop, feel free to close this. But if both will work going forward we should probably recommend the simpler of the two. * Update markdown-features-react.mdx |
||
---|---|---|
.. | ||
_markdown-partial-example.mdx | ||
markdown-features-admonitions.mdx | ||
markdown-features-assets.mdx | ||
markdown-features-code-blocks.mdx | ||
markdown-features-head-metadata.mdx | ||
markdown-features-headings.mdx | ||
markdown-features-inline-toc.mdx | ||
markdown-features-intro.mdx | ||
markdown-features-math-equations.mdx | ||
markdown-features-plugins.mdx | ||
markdown-features-react.mdx | ||
markdown-features-react.module.css | ||
markdown-features-tabs-styles.module.css | ||
markdown-features-tabs.mdx |