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

Added support for URIs #2708

merged 5 commits into from Jan 24, 2021

Added support for URIs #2708

merged 5 commits into from Jan 24, 2021


Copy link

This adds a grammar to tokenize URIs. The grammar itself uses class names that are not supported by most themes, so themes have to add support for URIs themselves.

I also changed HTTP to use the new URI language to tokenize URLs in the request line.

This resolves #2707.

Copy link

github-actions bot commented Jan 9, 2021

JS File Size Changes (gzipped)

A total of 4 files have changed, with a combined diff of +541 B (+10.9%).

file master pull size diff % diff
components/prism-http.min.js 644 B 651 B +7 B +1.1%
components/prism-uri.min.js 0 Bytes 518 B +518 B +100.0%
plugins/autoloader/prism-autoloader.min.js 2.17 KB 2.17 KB +5 B +0.2%
plugins/show-language/prism-show-language.min.js 2.16 KB 2.17 KB +11 B +0.5%

Generated by 🚫 dangerJS against 3138cee

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.

URI query string syntax highlighting
1 participant