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

Twig: Improved tokenization #3259

merged 2 commits into from Dec 7, 2021


Copy link

@RunDevelopment RunDevelopment commented Dec 2, 2021


  • Use Markup templating
  • Remove non-standard use of property token
  • Simplify delimiter tokens
  • Removed non-standard use of tag token

Copy link

@github-actions github-actions bot commented Dec 2, 2021

JS File Size Changes (gzipped)

A total of 2 files have changed, with a combined diff of +74 B (+2.7%).

file master pull size diff % diff
components/prism-twig.min.js 459 B 531 B +72 B +15.7%
plugins/autoloader/prism-autoloader.min.js 2.31 KB 2.31 KB +2 B +0.1%

Generated by 🚫 dangerJS against dfbd646

JaKXz approved these changes Dec 6, 2021
Copy link

@JaKXz JaKXz left a comment


@RunDevelopment RunDevelopment merged commit e03a7c2 into PrismJS:master Dec 7, 2021
12 checks passed
@RunDevelopment RunDevelopment deleted the twig-impr branch Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants