Skip to content

How to change <pre> tag styles #1004

Discussion options

You must be logged in to vote

Using just react-markdown CSS can be used to change colors.

If you additionally want syntax highlighting with specific themes, see https://github.com/remarkjs/react-markdown#use-custom-components-syntax-highlight

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ChristianMurphy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants