plugins/line-numbers


Log

Author Commit Date CI Message
Michael Schmidt de79636a 2021-05-01T14:57:39 Website: Moved remaining vendor files into `vendor` folder (#2829)
Michael Schmidt cf7b0fd5 2021-05-01T14:40:00 ESLint: Added JSDoc plugin (#2869)
Michael Schmidt 80d475e4 2021-04-18T16:14:33 ESLint: Added no-use-before-define rule (#2866)
Michael Schmidt 96335642 2021-03-21T17:22:54 Plugins: Consistent Prism check (#2788)
Michael Schmidt 7cdfe556 2020-10-24T17:54:14 Line numbers: Fixed null reference (#2605)
Michael Schmidt 453079bf 2020-07-26T18:46:25 Line Numbers: Fixed class name on website This fixes #2487.
Michael Schmidt 447429f0 2020-07-22T17:13:00 Line Numbers: Improved documentation (#2456)
Michael Schmidt b96ed225 2020-06-28T15:40:01 Line Numbers: Improved resize performance (#2125)
Michael Schmidt 91fdd0b1 2020-06-28T01:58:55 Website: New assets directory for all web-only files (#2180)
Michael Schmidt ad9c13e2 2020-06-27T00:03:07 Line numbers: Style inline code of website (#2435)
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.
Michael Schmidt eb82e804 2020-05-07T21:35:08 Line Highlight: Added linkable line numbers (#2328) This makes individual line numbers clickable creating a link to that specific line for that specific code block.
Lynette 4b61661d 2020-04-29T18:04:08 Line numbers: Fixed TypeError when lineNumberWrapper is null (#2337) If a code block doesn't contain code, line numbers will not be added but the resize event still expected them to be there resulting in a TypeError.
Michael Schmidt 893f2a79 2020-04-07T17:27:26 Line numbers: Exposed `_resizeElement` function (#2288)
Michael Schmidt cdfa60ac 2019-09-30T19:43:33 Added plugin descriptions to plugin list (#2076) This adds plugin descriptions to the plugin lists on the website.
Daniel Ferguson 0f16eb87 2019-03-26T03:24:51 Line numbers: Fixed typo on webpage (#1838) This corrects a small typo on line number's webpage.
Michael Schmidt 439ea1ee 2019-03-11T00:32:45 Added scripts directory (#1781) This adds a new `scripts` directory for all scripts used exclusively by the prismjs.com website.
Michael Schmidt 14be7489 2019-03-10T18:56:59 Line numbers: Added inheritance for the `line-numbers` class (#1799) This adds inheritance for the `line-numbers` class for the Line numbers plugin similar to the inheritance of `language-xxxx` classes.
Michael Schmidt 3e00bb9c 2019-03-07T15:22:30 Rebuilt Prism (#1794) This is a rebuilt of Prism to update minified files.
Michael Schmidt c9762c6f 2019-03-06T13:47:25 Better class name detection for plugins (#1772) This improves the class name regex of a few plugins to avoid false positives.
Bruce Hyslop 00f4f04f 2019-02-07T23:20:34 Line Numbers plugin instructions clarifications (#1719) This fixes typos and makes clarifies some instructions of the Line Numbers plugin.
mAAdhaTTah 9ee4f547 2018-06-01T13:52:21 Make line-numbers styles more specific The padding added to `pre.line-numbers` in the line-number's CSS is overwritten by the theme's CSS if the theme is loaded second. This ensures the CSS can come in any order without specificity issues.
Valtteri Laitinen d95f8fb4 2018-04-22T15:55:38 Use rel="icon" instead of rel="shortcut icon" (#1398)
Valtteri Laitinen 95146c8f 2018-04-17T01:28:42 Use HTTPS / canonical URLs (#1390) Also, remove the broken link in `/index.html`.
Golmote d8999891 2017-12-05T21:18:21 Run gulp
Vitaliy Ribachenko e63058f9 2017-12-05T22:16:35 Fixes to compatibility of line number and line higlight plugins (#1194) * Fix line breaks issues in line numbers plugin used with soft wraps option * Fix line highlight plugin compatibility issues with line number plugin * Revert rename data attribute for line numbers plugin * Fix compatibility issues with line highlight and line numbers
Golmote 87780d26 2017-09-09T12:22:18 Run gulp
Golmote 3fb7cf81 2017-09-09T12:21:10 Merge branch 'gh-pages' of https://github.com/dfitiskin/prism into dfitiskin-gh-pages # Conflicts: # plugins/line-numbers/prism-line-numbers.js
Golmote 44010886 2017-09-09T11:28:31 Run gulp
Golmote 7f664260 2017-09-09T11:11:35 Line numbers plugin: Don't use inline-block on code, it would break the Coy theme.
Golmote 849f1d63 2017-09-09T11:07:02 Merge branch 'gh-pages' of https://github.com/VitaliyR/prism into VitaliyR-gh-pages # Conflicts: # plugins/line-numbers/index.html # plugins/line-numbers/prism-line-numbers.js
Dima Fitiskin 8ddcc964 2016-08-11T12:42:28 Fix removing line-numbers class form code. It removes space between other classes in code.
Golmote e5587a76 2016-07-10T14:14:50 Added aria-hidden attributes on elements created by the Line Highlight and Line Numbers plugins. Fixes #574.
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 02b220e0 2015-08-26T19:46:48 Fix computation of line numbers for single-line code blocks. Fix #721
Golmote 14f3f80d 2015-08-17T08:28:57 Correct calculation for number of lines (manual merge, fix #385)
Golmote ee463e8e 2015-08-15T17:25:47 Line-numbers: Abort if element is empty. Fixex #669
Golmote fd549959 2015-08-13T08:33:48 Fix complete hook behaviour + run gulp task
Fernando San Julián c89bbdb1 2015-08-09T03:56:20 no line numbers if already exists
Fernando San Julián 3f4d9182 2015-08-09T00:07:08 run line numbers plugin in complete hook
Vitaliy Ribachenko ffae34cf 2015-06-11T19:56:17 Removed class name for soft wrap, made to determinate it automatically by white-space css attribute on the pre tag
Vitalii Rybachenko de289924 2015-05-26T13:22:58 Replaced innerText with textContent for supporting ff
Vitalii Rybachenko 8ebc48c5 2015-05-26T13:16:28 Moved lineHeight conditional inside forEach block
Vitaliy Ribachenko 8e0ebd5c 2015-05-25T15:32:11 Removed obsolette function
Vitaliy Ribachenko e05043f3 2015-05-25T15:26:10 Added support of soft wrap lines for line numbers plugin
Golmote 33bebfe7 2015-05-06T07:38:23 Line-numbers : accept CSS class on both <pre> and <code>. Fixes #568
Golmote c7992253 2015-03-31T07:47:32 Fixed implicitly declared variable
Ben Briggs 7cfd29a9 2014-05-26T11:20:55 Rebuild minified files.
Lea Verou 87d7640e 2013-10-07T09:46:33 Moved themes to themes/ folder
Lea Verou cdeea36e 2013-07-01T18:50:21 Added components.js to plugin pages
George Kats 12f80769 2013-06-13T17:59:15 Add forgotten prism-line-numbers.min.js file. Undefined in JS output generation script. Prism should have a check to existing files (not only for CSS).
Jakub Korál 3d486c7a 2013-05-20T12:45:48 Line Numbers plugin Add Line Numbers plugin to components Usage, works when `line-numbers` class is present Optional: `data-start` for shifting the line-number counter