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


Log

Author Commit Date CI Message
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