Skip to content

[bug] java 15 text blocks breaks syntax highlighting #59

@ghost

Description

from what i understand, github uses code from this repo to do syntax highlighting.

if i write this:

  var json = """
        {
          "version": "https://jsonfeed.org/version/1.1"
        }
        """;
    var jsonFeedFromJsonString = JsonFeed.fromJson(json);

i would expect var jsonFeedFromJsonString = JsonFeed.fromJson(json); not to be highlighted like a string.
text blocks are a new feature of java since jdk 15, see https://openjdk.java.net/jeps/378

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