mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-26 21:18:47 +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 |
||
---|---|---|
.. | ||
advanced | ||
api | ||
assets | ||
guides | ||
i18n | ||
migration | ||
blog.mdx | ||
browser-support.md | ||
cli.md | ||
configuration.md | ||
deployment.mdx | ||
docusaurus-core.md | ||
installation.md | ||
introduction.md | ||
playground.mdx | ||
search.md | ||
seo.md | ||
static-assets.md | ||
styling-layout.md | ||
swizzling.md | ||
typescript-support.md | ||
using-plugins.md |