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

PER-CS Code Highlighting Errors #319

Open
ravage84 opened this issue Jun 1, 2023 · 1 comment
Open

PER-CS Code Highlighting Errors #319

ravage84 opened this issue Jun 1, 2023 · 1 comment

Comments

@ravage84
Copy link

ravage84 commented Jun 1, 2023

Going through the specification, I've noticed some of the (PHP) code highlighting to be somewhat off.

3. Declare Statements, Namespace, and Import Statements:

grafik

4.2 Using traits

grafik

10. Heredoc and Nowdoc:

grafik

grafik

@Jean85
Copy link
Member

Jean85 commented Jun 1, 2023

This is done in https://github.com/php-fig/www.php-fig.org/ using spatie/commonmark-highlighter:

"spatie/commonmark-highlighter": "^2.1",

I'm moving this issue in that repo.

It's fairly new syntax, I don't know if that package supports that already (and we just have to upgrade it) or not...

@Jean85 Jean85 transferred this issue from php-fig/per-coding-style Jun 1, 2023
@Jean85 Jean85 changed the title Code Highlighting Errors PER-CS Code Highlighting Errors Jun 1, 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

No branches or pull requests

2 participants