Skip to content

Background color not working #2

Closed
@touilleMan

Description

@touilleMan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions