GitXplorerGitXplorer
b

jekyll-widont

public
7 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
aa1b554e80ef50294e7e3a2a752d9ce2969c4886

Fix my example.

bbryanveloso committed 12 years ago
Unverified
464e9d9ff9822903e45f3e2d6247c3a5144399d6

ERMAHGERD SERNTERX ERERS.

bbryanveloso committed 12 years ago
Unverified
fac2d764d88e5acc96038cce36703ed6d9aa55ae

Flesh out the README.

bbryanveloso committed 12 years ago
Unverified
a9f86363654bb0134745dfb23a8d22c39dd2d514

hubot widont me.

bbryanveloso committed 12 years ago
Unverified
81406d1f0151186f0d31be7a5a95263e3c4960d5

Initial commit: README.

bbryanveloso committed 12 years ago

README

The README file for this repository.

jekyll-widont

Take the widows out of your Jekyll.

Installation

Create a _plugins directory in your Jekyll installation if one doesn't already exist. Throw widont.rb in there and make sure to restart Jekyll if it's currently running.

Usage

Apply the filter using Liquid's filter syntax, |, to any string that you want to process.

<h1>{{ page.title | widont }}</h1>
<div class="entry-content">{{ content | widont }}</div>

Special Thanks

Special thanks to Steve Smith for the regular expression he joyfully referred to as "... the best widow-removing regex ever. It's epic."