mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-03 03:12:35 +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 |
||
---|---|---|
.. | ||
docs | ||
markdown-features | ||
creating-pages.md | ||
whats-next.md |