Open ncarchedi opened 3 years ago
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.
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