|
11c54624
|
2022-03-22T22:32:52
|
|
Use terser (#3407)
|
|
d63d6c0e
|
2021-10-04T14:06:12
|
|
Added minified CSS (#3073)
Co-authored-by: ashwinjayan <ashwinjayanam@gmail.com>
|
|
de79636a
|
2021-05-01T14:57:39
|
|
Website: Moved remaining vendor files into `vendor` folder (#2829)
|
|
158011e4
|
2021-04-18T15:55:05
|
|
ESLint: Added wrap-iife rule (#2867)
|
|
772d42be
|
2021-03-26T13:16:16
|
|
Added ESLint with minimal config (#2831)
|
|
96335642
|
2021-03-21T17:22:54
|
|
Plugins: Consistent Prism check (#2788)
|
|
91fdd0b1
|
2020-06-28T01:58:55
|
|
Website: New assets directory for all web-only files (#2180)
|
|
cdfa60ac
|
2019-09-30T19:43:33
|
|
Added plugin descriptions to plugin list (#2076)
This adds plugin descriptions to the plugin lists on the website.
|
|
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.
|
|
3e00bb9c
|
2019-03-07T15:22:30
|
|
Rebuilt Prism (#1794)
This is a rebuilt of Prism to update minified files.
|
|
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.
|
|
7a2d153b
|
2018-11-12T20:14:19
|
|
Revert "Show invisibles inside tokens"
This reverts commit 2d622f17e4f6d746e8f4fa211c7f6b7ccb3f27b4.
|
|
2d622f17
|
2018-11-12T20:12:44
|
|
Show invisibles inside tokens
|
|
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.
|
|
d95f8fb4
|
2018-04-22T15:55:38
|
|
Use rel="icon" instead of rel="shortcut icon" (#1398)
|
|
95146c8f
|
2018-04-17T01:28:42
|
|
Use HTTPS / canonical URLs (#1390)
Also, remove the broken link in `/index.html`.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
b6e7da53
|
2015-01-10T21:48:54
|
|
fixes #464 crlf issue
|
|
7cfd29a9
|
2014-05-26T11:20:55
|
|
Rebuild minified files.
|
|
87d7640e
|
2013-10-07T09:46:33
|
|
Moved themes to themes/ folder
|
|
cdeea36e
|
2013-07-01T18:50:21
|
|
Added components.js to plugin pages
|
|
9863ad72
|
2012-07-31T18:44:17
|
|
Added Google Analytics
|
|
571ca0a5
|
2012-07-31T18:39:29
|
|
Added favicon
|
|
9ed86b86
|
2012-07-31T18:14:55
|
|
Styling and docs changes
|
|
96da9fbc
|
2012-07-31T10:59:56
|
|
Styling changes & docs update
|
|
023950ce
|
2012-07-30T18:10:05
|
|
Removed redundant section
|
|
bd4e8d15
|
2012-07-23T18:54:30
|
|
ALL THE THINGS! Most notably: Simple templating, API changes, show invisibles plugin, download (build) page
|