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

Add Perl 6 syntax highlighting on exercism.io #164

Closed
m-dango opened this issue May 23, 2017 · 9 comments
Closed

Add Perl 6 syntax highlighting on exercism.io #164

m-dango opened this issue May 23, 2017 · 9 comments
Labels

Comments

@m-dango
Copy link
Member

m-dango commented May 23, 2017

Currently, there is no highlighting for Perl 6 code on exercism.io. It appears that exercism.io is using Rouge:
https://github.com/exercism/exercism.io/blob/master/lib/exercism/syntax_highlighter.rb

Perhaps it would be possible to port from pygments to Rouge?

@m-dango
Copy link
Member Author

m-dango commented Jun 6, 2017

There's an existing issue to add support for Perl 6 in rouge-ruby/rouge#390

@kotp
Copy link
Member

kotp commented Jun 8, 2017

Is highlighting at the exercism/exercism.io repository level?

@kytrinyx
Copy link
Member

If the track ID doesn't match the language name in jneen/rouge, then we need to add it to the map of ids to rouge names: https://github.com/exercism/exercism.io/blob/master/lib/exercism/syntax_highlighter.rb#L6-L16

@stale
Copy link

stale bot commented Dec 7, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 7, 2017
@stale stale bot closed this as completed Dec 14, 2017
@habere-et-dispertire
Copy link
Contributor

Raku syntax highlighting appears sometimes off.

Strangely not in the web editor but in published solutions.

For an example, look at lines 4-5 of this Luhn solution. It appears the regex containing <digit> throws things out of kilter.

@kotp
Copy link
Member

kotp commented Jun 26, 2022

@habere-et-dispertire can you open a new issue? This one is for "no highlighting" as opposed to broken highlighting.

@kotp
Copy link
Member

kotp commented Jun 26, 2022

There is a related issue upstream rouge-ruby/rouge#390

@habere-et-dispertire
Copy link
Contributor

New Issue #520 .

@kotp
Copy link
Member

kotp commented Jun 26, 2022

Nice, thanks for the breadcrumbs.

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

No branches or pull requests

4 participants