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

Current implementation of Rebol code coloriser is not suitable for code snippets #2348

Closed
Oldes opened this issue Feb 21, 2023 · 0 comments · Fixed by #2349
Closed

Current implementation of Rebol code coloriser is not suitable for code snippets #2348

Oldes opened this issue Feb 21, 2023 · 0 comments · Fixed by #2349
Milestone

Comments

@Oldes
Copy link
Contributor

Oldes commented Feb 21, 2023

Pygments currently expects Rebol header in the code and so is useful only for full scripts. But Pygments is used also in Zulip chat and there one is usually pasting just code snippets.

Here is how it looks now without the header, and this is with the header.

Oldes added a commit to Oldes/pygments that referenced this issue Feb 21, 2023
birkenfeld pushed a commit that referenced this issue Feb 24, 2023
* Don't require script headers in Rebol and Red codes.
Resolves: #2348

* Not modifying the copyright

* Updated tests for Rebol and Red

* Rebol: removed the unneeded code instead of commenting.
@Anteru Anteru added this to the 2.15.0 milestone Mar 25, 2023
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

Successfully merging a pull request may close this issue.

2 participants