Adapted from Jekyll plugins by Aucor
Plugins included in this repository:
- strip.rb - Block tag for trimming away unwanted newlines and whitespace between them.
This is the updated version from @andrewgunn which preserves whitespace in <pre>
tags.
Using eg. forloops to generate navigation produces often a huge amount of ugly whitespace. Wrapping the section with {% strip %}{% endstrip %}
replaces the blocks of whitespace with one newline resulting in pretty markup.
Plugins written by Janne Ala-Äijälä of Aucor Oy