Skip to content

Latest commit

 

History

History

remove-initial-line-feed

title description owner noCSS
Remove Initial Line Feed
Removes the initial line feed in code blocks.
Golmote
true

How to use (DEPRECATED)

This plugin will be removed in the future. Please use the general purpose Normalize Whitespace plugin instead.

Obviously, this is supposed to work only for code blocks (<pre><code>) and not for inline code.

With this plugin included, any initial line feed will be removed by default.

To bypass this behavior, you may add the class keep-initial-line-feed to your desired <pre>.

Examples

Without adding the class


<div></div>

With the class added


<div></div>