Rubygems | Latest Versions for typogrifyhttps://bundler.rubygems.org/gems2023-09-28T01:59:28Ztypogrify (0.0.1)https://bundler.rubygems.org/gems/typogrify/versions/0.0.12009-07-25T17:48:38ZBen SchwarzTidy your plain text to create beautiful HTML headlines
Thanks to Pat Allan & his regex-fu, Anthony Kolber (http://aestheticallyloyal.com/) for showing me Typogrify. Square Circle Triangle (http://sct.com.au/) because I mashed it together on a Friday afternoon at work :) == FEATURES/PROBLEMS: * Multiple adjacent caps are wrapped in <span class="caps"> (Gives you a handle on small caps) * Single and double quotes are wrapped in a class name matching their entity name in HTML * Ampersands wrapped in <span class="amp"> * Runs smarty pants (Which writes HTML entities so that you don't have to) * No more widows in your headlines * Extends the string class == USAGE: