Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghost opened this issue May 21, 2021 · 0 comments
Open

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

ghost opened this issue May 21, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented May 21, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants