plugins/remove-initial-line-feed/index.html


Log

Author Commit Date CI Message
Andreas Rohner 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.
Golmote b8d098e1 2015-08-17T09:03:06 Remove the behaviour of Remove initial line feed plugin (remove by default, allow to keep with a CSS class)
Golmote ed9f2b21 2015-08-17T08:47:32 Move removal of initial line feed to a plugin