Skip to content

bug in markdown syntax highlighter #1468

Closed
@durka

Description

@durka

The highlighter seems to give keywords a higher precedence than strings. Take a look at the code block under "repositories" here:

badly highlighted code

The source is:

    ```rust
    let repo = github.repo("user", "repo");
    ```

But it seems to be highlighting use as a keyword instead of "user" as a string.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions