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

More documentation for language definitons #3427

Merged
merged 3 commits into from Apr 17, 2022

Conversation

RunDevelopment
Copy link
Member

I rewrote the Language Definition section of our website. I generally expanded upon existing topics, added and simplified examples, and added some new sections.

The new sections are about token names and Prism's matching algorithm. The former explains what token names are, how they affect the color of tokens, and a what granular highlighting is. The latter explains the difference between Prism default matching mode (which I dubbed first-come, first-served (FCFS) matching), and greedy matching using examples.

While the contents should be correct, I'm not so certain about the language. I would very much appreciate someone prove reading this.

@github-actions
Copy link

github-actions bot commented Apr 8, 2022

No JS Changes

Generated by 🚫 dangerJS against 9b4a554

@RunDevelopment RunDevelopment merged commit 333bd59 into PrismJS:master Apr 17, 2022
@RunDevelopment RunDevelopment deleted the extending-docs branch April 17, 2022 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant