package Text::Typography; use strict; use warnings; use Exporter 'import'; use vars qw($VERSION @EXPORT_OK); $VERSION = '0.01'; @EXPORT_OK = qw(typography); =head1 NAME Text::Typography - Markup ASCII text with correct typography for HTML =head1 SYNOPSIS use Text::Typography qw(typography); print typography($text); =head1 DESCRIPTION This module is a thin wrapper for John Gruber's SmartyPants plugin for various CMSs. SmartyPants is a web publishing utility that translates plain ASCII punctuation characters into "smart" typographic punctuation HTML entities. SmartyPants can perform the following transformations: =over 4 =item * Straight quotes ( " and ' ) into "curly" quote HTML entities =item * Backticks-style quotes (``like this'') into "curly" quote HTML entities =item * Dashes (C<--> and C<--->) into en- and em-dash entities =item * Three consecutive dots (C<...>) into an ellipsis entity =back SmartyPants does not modify characters within C<<
 >>, C<<  >>,
C<<  >>, C<<