plugins/custom-class/prism-custom-class.min.js

Branch


Log

Author Commit Date CI Message
Michael Schmidt 11c54624 2022-03-22T22:32:52 Use terser (#3407)
Michael Schmidt 4b55bd6a 2021-06-27T21:23:05 Made Match Braces and Custom Class compatible (#2947)
Michael Schmidt 96335642 2021-03-21T17:22:54 Plugins: Consistent Prism check (#2788)
Hari Gopal 543f04d7 2020-01-10T16:08:22 Custom Class: Fixed TypeError when mapper is undefined (#2167)
Michael Schmidt dab7998e 2019-11-16T10:40:14 Custom Class: New class adder feature (#2075) This adds a new `add` function to the Custom Class plugin which gives users the ability to easily add their own specific classes for existing tokens.
Michael Schmidt acceb3b5 2019-05-08T17:02:27 Custom class: Added mapper functions for language specific transformations (#1873) This adds support for mapper function to the `map` function, allowing for language-specific transformations.
Michael Schmidt 3e00bb9c 2019-03-07T15:22:30 Rebuilt Prism (#1794) This is a rebuilt of Prism to update minified files.
Jimmy Miller 5400af9e 2017-07-20T15:31:14 Added a default for classMap. Fixes #1137. (#1157) When the classMap is accessed, it is undefined, causing this look up to fail. Defaulting it to an empty object provides the right logic. https://github.com/PrismJS/prism/blob/16ce4b336d625e13065bfc12ab6d13ac862d6f50/plugins/custom-class/prism-custom-class.js#L25
dvkndn cda106f9 2016-08-15T02:45:50 update min file and reverse core
dvkndn e9355cc4 2016-08-15T02:43:09 add prefix feature for custom class plugin