plugins/show-invisibles


Log

Author Commit Date CI Message
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 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 3e00bb9c 2019-03-07T15:22:30 Rebuilt Prism (#1794) This is a rebuilt of Prism to update minified files.
Michael Schmidt 1090b253 2019-01-23T04:45:07 Show invisibles inside tokens (#1610) This PR fixes #1608. The patterns for invisible characters (ICs) are now also recursively added to the `inside` of every pattern. I also had to change the color of ICs because in #1607 I changed the color to `inherit` which causes the ICs to have different colors depending on which token they are inside of. So, to make everything consistent, I changed the color to grey (`rgb(128, 128, 128)`) and made it half transparent so it would blend in. Looks really similar to #1607. --- Most of the code is just traversing the language definition, handling the different kinds of tokens (simple regex, array, pattern object), and trying not to fall because of the added tokens for ICs and the `rest` property.
RunDevelopment 7a2d153b 2018-11-12T20:14:19 Revert "Show invisibles inside tokens" This reverts commit 2d622f17e4f6d746e8f4fa211c7f6b7ccb3f27b4.
RunDevelopment 2d622f17 2018-11-12T20:12:44 Show invisibles inside tokens
Michael Schmidt 2ba62268 2018-11-12T13:32:32 Updated styles of show invisibles (#1607) Changes the color of the placeholders of invisible characters. They will now use the default text color of the theme as the base and blend in instead of a fixed color for all themes.
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`.
James DiGioia ed8bdb55 2017-10-10T01:40:44 Check if tokens exists and return (#1195) If the language was autoloaded, the grammar may not exist yet. We need to check if it exists before we attempt to modify it.
Andreas Rohner 05442d3e 2016-02-01T14:16:13 Add support for the space character for the show-invisibles plugin This patch adds a bit of position magic, so that the invisibles are displayed on top of the original character. This allows for the inclusion of the space character.
mAAdhaTTah c3cfb1fb 2016-01-30T14:46:38 Ensure show-invisibles compat with autoloader When using the autoloader, the language isn't loaded at the time the show-invisibles plugin attaches its extra tokens. This defers attaching the extra tokens to just before highlighting, so we ensure we're able to attach to the language grammar.
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.
Vivek Kumar Bansal b6e7da53 2015-01-10T21:48:54 fixes #464 crlf issue
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
Lea Verou 9863ad72 2012-07-31T18:44:17 Added Google Analytics
Lea Verou 571ca0a5 2012-07-31T18:39:29 Added favicon
Lea Verou 9ed86b86 2012-07-31T18:14:55 Styling and docs changes
Lea Verou 96da9fbc 2012-07-31T10:59:56 Styling changes & docs update
Lea Verou 023950ce 2012-07-30T18:10:05 Removed redundant section
Lea Verou bd4e8d15 2012-07-23T18:54:30 ALL THE THINGS! Most notably: Simple templating, API changes, show invisibles plugin, download (build) page