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
merged 5 commits into from Jan 24, 2021
Merged

Added support for URIs #2708

merged 5 commits into from Jan 24, 2021

Conversation

@RunDevelopment
Copy link
Member

@RunDevelopment RunDevelopment commented Jan 9, 2021

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.

@github-actions
Copy link

@github-actions 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

@RunDevelopment RunDevelopment merged commit bbc77d1 into PrismJS:master Jan 24, 2021
8 checks passed
@RunDevelopment RunDevelopment deleted the uri branch Jan 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

1 participant