Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 770 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 770 Bytes

Adapted from Jekyll plugins by Aucor

Overview

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.

Usage

strip.rb

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.

Author

Plugins written by Janne Ala-Äijälä of Aucor Oy