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

[Syntax highlighting] Hyphen in quote words #520

Open
habere-et-dispertire opened this issue Jun 25, 2022 · 2 comments
Open

[Syntax highlighting] Hyphen in quote words #520

habere-et-dispertire opened this issue Jun 25, 2022 · 2 comments

Comments

@habere-et-dispertire
Copy link
Contributor

habere-et-dispertire commented Jun 25, 2022

Raku syntax highlighting appears confused when an apostrophe appears in a quote words:

say <The apostrophe ' stops stops syntax highlighting>;
say <Resuming when another apostrophe ' is encountered>;

Exercism

syntax-exercism-min

Comma CT

syntax-commaCT-min

@m-dango
Copy link
Member

m-dango commented Jun 25, 2022

From what I can gather, codemirror does not yet support Raku, and is using the syntax highlighting for Perl as a placeholder. I've made a note of it in Raku/raku-most-wanted#50 and may look into adding support at some point.

The relevant changes would also need to be made in https://github.com/exercism/website

@habere-et-dispertire
Copy link
Contributor Author

habere-et-dispertire commented Jun 25, 2022

Not sure if this helps, but pandoc's raku syntax highlighting appears to work okay and uses skylighting, which in turn takes from KDE's syntax highlighting.

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

2 participants