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

Branch


Log

Author Commit Date CI Message
Golmote 8a843a17 2022-03-05T22:03:09 Keep Markup: Use original nodes instead of clones (#3365)
Michael Schmidt b679cfe6 2021-11-03T13:07:32 Keep Markup: Added `drop-tokens` option class (#3166)
Michael Schmidt fd20dbe4 2021-05-01T14:53:38 ESLint: Added spacing rules (#2862)
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.
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.
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.
Fernando Montoya 24841ef3 2016-02-06T16:21:04 Removed firstWhiteSpaces code
Fernando Montoya 704ba4f9 2016-02-06T00:02:15 Fix Keep Markup plugin incorrect highlighting
Golmote 6f69da62 2015-09-16T22:08:29 Keep Markup Plugin. Fix #495, fix #579