Skip to content

Code highlighting on lints website using SCSS language a lot somehow? #14048

Closed
@steffahn

Description

@steffahn

Description

Looking through the lints descriptions on https://rust-lang.github.io/rust-clippy/master/index.html I’ve noticed some inconsistent highlighting… e.g. very clearly in the Example here:

Image

Looking at the html, it seems the upper code example was highlighted as “SCSS” somehow?

Image

Searching the full page shows this happening quite a few times, i.e. in multiple places.

My best guess would be: Maybe these code examples just run on highlight.js’s language autodetection?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-websiteArea: Improving the clippy website

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions