Skip to content

Unhighlighted code breaks the RTD theme #319

Closed
@ePirat

Description

@ePirat

When using the no-highlight class to prevent highlight.js to guess a specific highlighting, it works fine, but causes the Read the Docs theme to break, due to the absence of the hljs class I guess:

<pre>
    <code class="no-highlight">[…]</code>
</pre>

looks like this:

Screenshot illustrating the problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions