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 Plugin #770

Merged
merged 3 commits into from
Sep 22, 2015
Merged

Keep Markup Plugin #770

merged 3 commits into from
Sep 22, 2015

Conversation

Golmote
Copy link
Contributor

@Golmote Golmote commented Sep 16, 2015

This should fix #495 and #579, by allowing custom markup inside code blocks.

It works by storing the positions of every tag before highlighting, and then reinserting them after highlight, using Ranges.

prism-keep-markup

Golmote added a commit that referenced this pull request Sep 22, 2015
@Golmote Golmote merged commit bd3e9ea into PrismJS:gh-pages Sep 22, 2015
@Golmote Golmote deleted the prism-keep-markup branch September 22, 2015 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant