We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The easiest way to do this is probably via react-syntax-highlighter, but I couldn't find an existing theme that I felt matched the style of the rest of the site well enough: https://github.com/remarkjs/react-markdown#use-custom-renderers-syntax-highlight
react-syntax-highlighter
The text was updated successfully, but these errors were encountered:
Thanks for your work!
Syntax highlighting would be very helpful. Here is a react-syntax-highlighter demo that lets you flip through common themes: https://react-syntax-highlighter.github.io/react-syntax-highlighter/demo/
There is a couple I like with other languages but not with R. It seems like the R grammar for highlight.js is not very expressive.
Nonetheless I find non-highlighted code hard to read quickly, so I think any theme would be helpful.
Sorry, something went wrong.
No branches or pull requests
The easiest way to do this is probably via
react-syntax-highlighter
, but I couldn't find an existing theme that I felt matched the style of the rest of the site well enough: https://github.com/remarkjs/react-markdown#use-custom-renderers-syntax-highlightThe text was updated successfully, but these errors were encountered: