Skip to content

More documentation for language definitons#3427

Merged
RunDevelopment merged 3 commits into
PrismJS:masterfrom
RunDevelopment:extending-docs
Apr 17, 2022
Merged

More documentation for language definitons#3427
RunDevelopment merged 3 commits into
PrismJS:masterfrom
RunDevelopment:extending-docs

Conversation

@RunDevelopment
Copy link
Copy Markdown
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
Copy Markdown

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.

1 participant