CodeBlock in React pages #6185
Labels
documentation
The issue is related to the documentation of Docusaurus
good first issue
If you are just getting started with Docusaurus, this issue should be a good place to begin.
status: accepting pr
This issue has been accepted, and we are looking for community contributors to implement this
Have you read the Contributing Guidelines on issues?
Description
It's possible to use block of code in markdown document but the documentation does not explain how to use the same feature in JSX page. Does docusaurus exposes a component for this kind of usage ?
It's possible to use the
<Highlight>
component from "prism-react-renderer" but we loose the styling and every configuration :(. If there is a component for this I'm willing to add this to the documentation myselfSelf-service
The text was updated successfully, but these errors were encountered: