Skip to content

Keep Markup: Added drop-tokens option class#3166

Merged
RunDevelopment merged 2 commits intoPrismJS:masterfrom
RunDevelopment:issue2384
Nov 3, 2021
Merged

Keep Markup: Added drop-tokens option class#3166
RunDevelopment merged 2 commits intoPrismJS:masterfrom
RunDevelopment:issue2384

Conversation

@RunDevelopment
Copy link
Copy Markdown
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
Copy Markdown

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%).

Details
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