|
de79636a
|
2021-05-01T14:57:39
|
|
Website: Moved remaining vendor files into `vendor` folder (#2829)
|
|
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.
|
|
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`.
|
|
6c7dae20
|
2017-02-11T01:09:09
|
|
Add Node.js support for the normalize-whitespace plugin
|
|
9385c54f
|
2016-06-05T07:14:20
|
|
Add class that disables the normalize whitespace plugin
|
|
f1c71994
|
2016-02-12T10:53:38
|
|
Cleanup normalize-whitespace and improve keep-markup integration
This patch removes the misleading references to the parse-settings
plugin from the normalize-whitespace documentation and adds a
description for all supported operations.
The keep-markup plugin sets the property Prism.plugins.KeepMarkup
to allow the normalize-whitespace plugin to optimize its
operation.
Furthermore, the normalize-whitespace plugin makes sure, that it
is the first plugin to run on a particular code block.
|
|
6880b3c1
|
2016-02-10T11:08:44
|
|
Preserve Markup in Normalize-Whitespace plugin
Since the Normalize-Whitespace plugin is only concerned with
whitespace, it is easy to preserve the markup for other plugins
like keep-markup.
|
|
e86ec01f
|
2016-01-07T10:39:37
|
|
Add whitespace-normalizer plugin
This plugin normalizes whitespace in code blocks. It can perform
various operations. The user can configure them through the plugin
object located at Prism.plugins.NormalizeWhitespace.
Prism.plugins.NormalizeWhitespace.setDefaults({
'remove-trailing': true,
'remove-indent': true,
'left-trim': true,
'right-trim': true,
/*'indent': 2,
'remove-initial-line-feed': false,
'tabs-to-spaces': 4,
'spaces-to-tabs': 4*/
});
The plugin can be disabled for certain code blocks, by adding the
class "no-whitespace-normalization" to it.
There is also a HTML-interface using the parse-settings plugin.
|