Call prism before-tokenize and after-tokenize hooks#105
Conversation
|
Before reviewing this with white space changes ignored (alas, I don't think we added an |
|
Hi @kitten thanks for the feedback! |
|
#106 PR for prettier format! |
|
Alright, a rebase may sort this then 👍 |
41ffd47 to
5d0a7fc
Compare
|
One more formatting issue before fixing changes here #107 😄 |
5d0a7fc to
59f2ba9
Compare
|
@kitten diff is now clean! |

Closes #104
Based on https://github.com/PrismJS/prism/blob/022f90a0bf8ac7e40373d1b783354715b0a1020f/prism.js#L606-L616
With this change, users with custom languages can also provide a custom version of Prism to make languages such as
ERBto work with<Highlight>