plugins/file-highlight/prism-file-highlight.js


Log

Author Commit Date CI Message
Michael Schmidt fbceba1f 2021-05-01T14:34:07 ESLint: Re-enable no-cond-assign rule (#2870)
Michael Schmidt 158011e4 2021-04-18T15:55:05 ESLint: Added wrap-iife rule (#2867)
Michael Schmidt b03e7eb0 2021-04-17T22:30:39 ESLint: Added semi rule (#2836)
Michael Schmidt 53d34b22 2021-03-23T15:55:40 File Highlight: Fixed Prism check (#2827)
Michael Schmidt 96335642 2021-03-21T17:22:54 Plugins: Consistent Prism check (#2788)
dreammaster82 3f4ae00d 2020-11-24T19:41:10 File Highlight: Fixed IE compatibility problem (#2656) The File Highlight plugin used the `Element#matches` which isn't supported by IE11, so a small polyfill was added.
Michael Schmidt afea17d9 2020-06-28T02:32:53 File Highlight & JSONP Highlight update (#1974)
Michael Schmidt c6c62a69 2019-09-03T17:09:27 Made the download button its own plugin (#1840) This makes the download button its own plugin instead of being part of File highlight.
Michael Schmidt ce9616a0 2019-02-20T16:12:00 Fix typo (#1755)
Олег Дутченко 10239c14 2018-11-28T15:29:22 Prevent double-loading & add scope to File Highlight (#1586) Checks if a file has been loaded already and bails if it is and adds the ability to limit the scope of the file highlight plugin.
Valtteri Laitinen 7bc9a4a1 2018-04-22T16:18:32 Simplify lang regex on File Highlight plugin (#1399) Similar to #854.
Golmote cd22499c 2018-04-17T21:31:45 File Highlight: Fix issue causing the Download button to show up on every code blocks.
Golmote 659ea314 2018-04-07T10:41:08 Core: Fix support for language alias containing dash `-`
Golmote 9f22952d 2018-03-26T22:25:03 File Highlight: Add option to provide a download button, when used with the Toolbar plugin. Fix #1030
Andreas Rohner 3780571b 2016-07-03T11:59:59 Remove IE8 plugin
Andreas Rohner 54400fba 2016-02-17T15:26:01 Add property 'aliasTitles' to components.js This is necessary, because a language that has a lot of aliases like markup (HTML, SVG, XML, MathML), is only added to the languageMap once as "Markup". So any plugin that depends on the languageMap is limited by that. This patch allows the definition of additional titles for languages, depending on the alias that is used.
Andreas Rohner 3656a085 2015-12-30T13:28:00 Remove unnecessary check for the existence of the addEventListener method All target browsers for Prism support this method now. The check is therefore obsolete.
Chris Wells 6f995ef2 2015-12-29T17:44:06 Defer File Highlight until the full DOM has loaded.
Dmitriy Shekhovtsov 9f5c93c6 2015-09-03T13:45:26 Fix: node.js hacks for components and prism.js
Golmote 5f133c80 2015-07-16T21:09:40 Fixed prism-core and prism-file-highlight to prevent errors in IE8. Used local variable _self instead of overwriting self. Closes #468.
Golmote 8030db91 2015-06-25T08:00:14 File Highlight: allow to specify the language (takes precedence over extension guess) + Set language on parent even if unknown. Fix #607
hiulit ac9d6860 2015-03-02T09:27:16 Declaring fileHighlight as a property of Prism
hiulit 73440bb9 2015-02-26T16:56:21 Added fileHighlight function
Daniel Flint 9cfcc2d8 2014-12-31T10:19:19 PowerShell support
Nathan Friedly 51d56f97 2014-10-02T12:39:24 Adding support for .rb extension Fixes #376
Daniel Flint a211c26f 2014-02-22T22:28:12 Fix Issue #200 - map 'xml' extension to 'markup', and 'py' to 'python' (can't explain the OP saying the Python example worked, I can't even see the example, and couldn't replicate).
Lea Verou 1b1f217e 2013-07-01T18:54:23 Removed forgotten console.log()
Lea Verou a276a52e 2013-06-27T12:29:28 Fixed order of plugins and langs in the file builder
Lea Verou bba5bfc2 2013-05-19T03:20:58 Added File Highlight plugin