0
I Use This!
Activity Not Available

Project Summary

A set of filters to provide CSS typographical hooks to Rails views (RHTML) or Mephisto template (Liquid). It's basically a Ruby port of the Typogrify template filters for Django.

I don't know much about Typography, but I do know that curly quotes look better than straight ones, that HTML entities look better than plain-text, and that Django users shouldn't have all the fun.

See an Example of Typography Helper in action.

Included filters:

Widon't (widont) RubyPants (rubypants) Initial quotes wrapped in class='dquo' or class='quo' depending on if they are single or double (initial_quotes) Ampersands wrapped in class='amp' (amp) Multiple adjacent capital letters wrapped in class='caps' (caps) A do-all filter (rubyshirt) A do-all filter (rubyoutfit aliased as t to keep views cleaner) that runs rubypants and rubyshirt (in that order) A combination rubyoutfit and h filter to perform typography filters and the h method together (th) NOTES:

Formerly the Rails version was hosted at http://typography-helper.googlecode.com/svn/trunk/. I have moved it to http://typography-helper.googlecode.com/svn/typography_helper/ because there are two versions now. Sorry for any inconvenience!

To get it, navigate to your Rails/Mephisto root directory

Rails: script/plugin install http://typography-helper.googlecode.com/svn/typography_helper

Mephisto: script/plugin install http://typography-helper.googlecode.com/svn/mephisto_typography_helper

Tags

amp caps initialquotes mephisto rails ruby smartypants typography widont

In a Nutshell, typography-helper...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

BSD 4-clause (University of California-Specific)
Permitted

Commercial Use

Modify

Distribute

Place Warranty

Forbidden

Hold Liable

Use Trademarks

Required

Include Copyright

Include License

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    you can subscribe to e-mail newsletters to receive update from the Open Hub blog
  • ...
    in 2016, 47% of companies did not have formal process in place to track OS code
  • ...
    anyone with an Open Hub account can update a project's tags

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!
Sample ohloh analysis