plugins/keep-markup/prism-keep-markup.min.js


Log

Author Commit Date CI Message
Michael Schmidt 96335642 2021-03-21T17:22:54 Plugins: Consistent Prism check (#2788)
Michael Schmidt a36e96ab 2020-06-27T00:01:47 Added general de/activation mechanism for plugins (#2434) Keep Markup, Line numbers, and Normalize whitespace now share the same per-element class-based de/activation logic.
James DiGioia 3c043338 2020-03-21T12:29:18 Remove self & document from IIFE arguments (#2258) If self or document don't exist, they'll error instead of getting to the checks. Fixes #2257.
Michael Schmidt 11d0f75e 2019-03-14T13:17:45 Applied Array.isArray (#1804) This replaces all occurrences of `Prism.util.type(variable) {!==, ===} 'Array'` with an equivalent `Array.isArray` expression.
Guillaume Grossetie a944c418 2019-03-11T17:55:56 Add unit tests to the Keep Markup plugin (#1646) Uses JSDOM to simulate the DOM in node.
Michael Schmidt 3e00bb9c 2019-03-07T15:22:30 Rebuilt Prism (#1794) This is a rebuilt of Prism to update minified files.
Golmote 6df2cebc 2017-05-08T11:45:31 Keep markup plugin: Store highlightedCode after reinserting markup. Fix #1127
Andreas Rohner f1c71994 2016-02-12T10:53:38 Cleanup normalize-whitespace and improve keep-markup integration This patch removes the misleading references to the parse-settings plugin from the normalize-whitespace documentation and adds a description for all supported operations. The keep-markup plugin sets the property Prism.plugins.KeepMarkup to allow the normalize-whitespace plugin to optimize its operation. Furthermore, the normalize-whitespace plugin makes sure, that it is the first plugin to run on a particular code block.
Andreas Rohner eb68eb83 2016-02-07T18:53:04 Update CHANGELOG and run gulp
Golmote 6f69da62 2015-09-16T22:08:29 Keep Markup Plugin. Fix #495, fix #579