Closed mireille-raad closed 3 years ago
The current code blocks:
This PR ads code highlighting...
I used the built-in thing that comes with Jekyll https://jekyllrb.com/docs/liquid/tags/#code-snippet-highlighting http://rouge.jneen.net/
For the style sheets, I went with a Pygments theme called monokai
monokai
https://jekyllrb.com/docs/liquid/tags/#stylesheets-for-syntax-highlighting https://jwarby.github.io/jekyll-pygments-themes/languages/ruby.html
mobile is not ideal, the line wrap squishes things
The current code blocks:
This PR ads code highlighting...
I used the built-in thing that comes with Jekyll https://jekyllrb.com/docs/liquid/tags/#code-snippet-highlighting http://rouge.jneen.net/
For the style sheets, I went with a Pygments theme called
monokai
https://jekyllrb.com/docs/liquid/tags/#stylesheets-for-syntax-highlighting https://jwarby.github.io/jekyll-pygments-themes/languages/ruby.html
Screnshots
mobile is not ideal, the line wrap squishes things![Screenshot from 2020-11-06 09-28-31](https://user-images.githubusercontent.com/521705/98387064-f5360d00-201e-11eb-8cd6-2a04e69f6bf8.png)