Didn’t know where exactly to ask this. I noticed GitHub’s syntax highlighting of crystal has an issue with the %|my string| format for pipe-delimited percent string literals.
According to Github’s linguist repo¹ they use this here for crystal syntax highlighting:
You might want to file an issue (or better send a PR) there. A couple of member of the crystal-lang-tools organization on GH are here on this forum as well. They might be able to help you out if needed.