plugins/autolinker/prism-autolinker.js


Log

Author Commit Date CI Message
Golmote 5f1b3826 2016-07-10T13:56:08 Data-URI Highlight plugin
Golmote a5724950 2015-09-07T19:15:18 Autolinker: Don't process all grammars on load, process each one in before-highlight. Should fix #760
Golmote 0356c58c 2015-09-03T19:09:48 Apply changes from #754 to all plugins so that none of them throw errors in node. Autolinker, Show invisibles and WPD can now be used with node. Removed unused minified CSS file. Also added missing space between attributes during wrapping.
Golmote 24351dc1 2015-01-10T09:33:25 Fix URL RegExp in Autolinker
Andreas Rohner 08037e5b 2014-09-05T11:01:02 Fix for DFS bug with new pattern array feature This patch implements support for the new pattern array feature in the Prism.languages.DFS function and fixes a bug in the autolinker plugin. It adds an optional parameter to the callback of Prism.languages.DFS, which contains the type of the current object as oposed to the key in the parent. In most cases both key and type are exactly the same. Only if the parent is an array the key will contain the index number and the type will contain the attribute name of the array in the parent object. The key can be used to replace the object in the parent and the type can be used to provide the necessary context.
Daniel Flint 88696fab 2014-02-23T16:52:29 Autolinker fixes Capture query string and document fragment in url regex If inserting to attr-value, need to match url-link first, otherwise query string '=' gets picked up as punctuation. Don't prepend mailto: if it's already there (e.g. inside an href)
Lars Kappert d65695dc 2013-07-25T10:45:54 Allow port number (i.e. colon) in url
Siavash Askari Nasr 29ba72da 2012-11-25T18:28:20 Fixed #57 - Autolinker doesn't work when async is enabled
Lea Verou b2284fa3 2012-08-01T12:03:54 Fixed #13
Lea Verou ec8fb796 2012-07-31T17:47:56 Added helper method Prism.languages.DFS
Lea Verou 880efd3c 2012-07-30T18:27:16 Autolinker plugin
Lea Verou 483831ee 2012-07-30T18:27:16 Autolinker plugin