Skip to content

cooklang syntax highlighting - initial add#3337

Merged
RunDevelopment merged 22 commits into
PrismJS:masterfrom
ahue:master
Feb 19, 2022
Merged

cooklang syntax highlighting - initial add#3337
RunDevelopment merged 22 commits into
PrismJS:masterfrom
ahue:master

Conversation

@ahue
Copy link
Copy Markdown
Contributor

@ahue ahue commented Feb 13, 2022

Adds syntax highlighting for cooklang.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 13, 2022

JS File Size Changes (gzipped)

A total of 1 files have changed, with a combined diff of +604 B (+100.0%).

Details
file master pull size diff % diff
components/prism-cooklang.min.js 0 Bytes 604 B +604 B +100.0%

Generated by 🚫 dangerJS against 4277077

Copy link
Copy Markdown
Member

@RunDevelopment RunDevelopment left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR @ahue!

I have a few comments for you.

Also, regarding quoting properties: We generally only quote token names (e.g. comment, timer-group) and leave everything else unquoted (e.g. pattern, inside). This makes grammars more readable because it's easier to see what is and isn't a token name.

Comment thread components/prism-cooklang.js Outdated
Comment thread components/prism-cooklang.js Outdated
Comment thread components/prism-cooklang.js Outdated
Comment thread components/prism-cooklang.js Outdated
Comment thread components/prism-cooklang.js Outdated
Comment thread components/prism-cooklang.js Outdated
Comment thread components/prism-cooklang.js Outdated
Comment thread components/prism-cooklang.js Outdated
Comment thread components/prism-cooklang.js Outdated
Comment thread components/prism-cooklang.js Outdated
Comment thread components/prism-cooklang.js Outdated
@ahue
Copy link
Copy Markdown
Contributor Author

ahue commented Feb 16, 2022

@RunDevelopment - appreciate the feedback - it's really helpful!

Comment thread components/prism-cooklang.js Outdated
Comment thread components/prism-cooklang.js Outdated
Comment thread components/prism-cooklang.js Outdated
Comment thread components/prism-cooklang.js Outdated
ahue and others added 3 commits February 18, 2022 23:59
@RunDevelopment RunDevelopment merged commit 4eb928c into PrismJS:master Feb 19, 2022
@RunDevelopment
Copy link
Copy Markdown
Member

Thank you for contributing @ahue!

@ahue
Copy link
Copy Markdown
Contributor Author

ahue commented Feb 19, 2022

Thanks for running this project!

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.

2 participants