jmcnevin / rubypants

RubyPants: SmartyPants for Ruby
Other
29 stars 20 forks source link

= RubyPants: SmartyPants for Ruby

{Gem}[https://rubygems.org/gems/rubypants] {Travis}[https://travis-ci.org/jmcnevin/rubypants] {CodeCov}[https://codecov.io/gh/jmcnevin/rubypants]

== Synopsis

RubyPants is a Ruby port of the smart-quotes library SmartyPants.

The original "SmartyPants" is a free web publishing plug-in for Movable Type, Blosxom, and BBEdit that easily translates plain ASCII punctuation characters into "smart" typographic punctuation HTML entities.

== Description

RubyPants can perform the following transformations:

This means you can write, edit, and save your posts using plain old ASCII straight quotes, plain dashes, and plain dots, but your published posts (and final HTML output) will appear with smart quotes, em-dashes, and proper ellipses.

RubyPants does not modify characters within

,
, , ,