Found an example of a Ruby HEREDOC being handled incorrectly

Issue #1171 invalid
justinforce
created an issue

After a HEREDOC string early in this file, most of the file is highlighted incorrectly as one long string with interpolation.

https://gist.github.com/justinforce/95523af264c25ac9ea9a

Comments (8)

  1. justinforce reporter

    Oh wait. When I raised an issue about syntax highlighting in 2013, a GitHub staffer told me that they used Pygments. I realized this may have changed, but I just wanted to make sure before closing this issue.

    Steve Ward support@github.com 8/16/13

    to me

    Hi Justin,

    Thanks for writing in! We actually use an open source project called Pygments for all of our syntax highlighting:

    https://bitbucket.org/birkenfeld/pygments-main

    You can open an issue or submit changes there. And thanks for the <3. :)

    Cheers,

    Steve

  2. Log in to comment