lektor/lektor-markdown-highlighter

Background color not working

Closed this issue · 3 comments

It seems lektor's generated html for a code block has it class name set to highlight:

<div class="highlight">
  <pre>
    <span></span>
    <span class="o">&gt;&gt;&gt;</span>
    <span class="kn">import</span> <span class="nn">os</span>
  </pre>
</div>

However in pygments the correct class is hll (for example in monokai: https://github.com/richleland/pygments-css/blob/master/monokai.css#L1)

I'm not sure the bug is in this extension or lektor itself though.

Same here :(

fixed in pr #4

I just made this a new release by the way.