RubyGems.org

typogrify

0.0.1

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:

installgem install typogrify
Authors

Ben Schwarz

1,316 total downloads 1,315 for this version
Owners

42e2ec6a72627f8c15115e279a5f7d8e

Gemfile
gem 'typogrify', '~> 0.0.1'
Versions
  1. 0.0.1 August 11, 2007 (5.5 KB)