I'm using Github Pages Jekyll static website generator with Cayman theme on Rouge Monokai syntax highlighting on my website.
I used the instructions from this answer.
I copied the scss from: https://raw.githubusercontent.com/jwarby/pygments-css/master/monokai.css
And posted it into assets/css/style.scss
on the website.
Non-language markdown color formatting has faint text:
This isn't the question but it is easier to read like pycharm
doc string good ole monochrome monitor green:
The BIG problem
When it comes to Github's default markdown (for Python) it looks OK when previewed:
However when you save the page, Krampdown or RedCarpet or whomever generates the HTML incorrectly using the ``` python code block:
If it helps here is the content of my _config.yml
:
theme: jekyll-theme-cayman
title: pippim - Open-source
description: Free open-source software for the World. Free of Ads too!
kramdown:
syntax_highlighter: rouge
input: GFM
How can I get Rouge formatting to work properly using the Monokai theme?