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

Keep Markup: Added drop-tokens option class #3166

Merged
merged 2 commits into from Nov 3, 2021

Conversation

RunDevelopment
Copy link
Member

@RunDevelopment RunDevelopment commented Oct 24, 2021

This fixes #2384.

I added an opt-in drop-tokens class (as suggested by @LeaVerou). I also slightly refactored the before-highlight hook to make this easier to implement.

@github-actions
Copy link

github-actions bot commented Oct 24, 2021

JS File Size Changes (gzipped)

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

file master pull size diff % diff
plugins/keep-markup/prism-keep-markup.min.js 598 B 666 B +68 B +11.4%

Generated by 🚫 dangerJS against a41b345

@RunDevelopment RunDevelopment merged commit b679cfe into PrismJS:master Nov 3, 2021
@RunDevelopment RunDevelopment deleted the issue2384 branch November 3, 2021 12:07
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.

Avoiding double highlighting
1 participant