scripts/examples.js


Log

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