scripts


Log

Author Commit Date CI Message
Michael Schmidt ce0fa227 2020-05-07T13:40:37 Website improvements (#2053)
Michael Schmidt 6232878b 2020-03-07T11:37:11 Examples: Updated content header (#2232) This changes the automatically generated header of examples on Prism's example page. The `overrideExampleHeader` option in `components.json` is no longer supported.
Michael Schmidt 7a4a0c7c 2019-12-16T12:49:21 Standardized dependency logic implementation (#1998) This adds a standard logic for handling dependencies between Prism components. Right now, the download page, the `loadLanguages` function, and the test suite use the new dependency system.
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.
Michael Schmidt 56a8711c 2019-09-03T20:52:15 Website: Fixed the Toolbar plusing's overflow issue (#1966) This fixes the overflow issue of all Toolbar related plugins where some button were hidden behind the theme selection.
Michael Schmidt 11f18e36 2019-07-13T15:06:09 Download page: Improved performance for Chromium-based browsers (#1907) This significantly reduces the time it takes to highlight the code of Prism on the download page in Chromium-based browsers. It does this by creating a new DOM node and highlighting the code in this detached node which seemingly helps Chromium to optimize its layout recalculations.
Michael Schmidt a16d4a25 2019-06-30T03:59:48 Examples improvements (#1919) This PR makes some improvements to the examples website: 1. `fileExists` will now also check local files, so that newly added examples can be viewed. (Requires localhost) 1. `update` now uses `Prism.highlightAllUnder` instead of the self-constructed copy of it. 1. Some formatting.
Michael Schmidt 77c57446 2019-03-24T18:42:51 Fixed download page (#1811) This makes the download page work on Edge again.
Michael Schmidt 11d0f75e 2019-03-14T13:17:45 Applied Array.isArray (#1804) This replaces all occurrences of `Prism.util.type(variable) {!==, ===} 'Array'` with an equivalent `Array.isArray` expression.
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.