Skip to content

gjeffrey/koken-typography

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Koken Typography

Plugin for Koken using the PHP-Typography library.

From the PHP-Typography description:

PHP Typog­ra­phy is a PHP based solu­tion to greatly improve web typog­ra­phy. It fea­tures the fol­low­ing capa­bil­i­ties (includ­ing gran­u­lar control):

  • Hyphen­ation
  • Spac­ing con­trol, includ­ing: glu­ing val­ues to units, widow pro­tec­tion, and forced inter­nal wrap­ping of long URLs & email addresses.
  • Intel­li­gent char­ac­ter replace­ment, includ­ing smart han­dling of: quote marks ( “foo” ), dashes ( foo – bar ), ellipses ( … ), trade­marks ( ™ ), math sym­bols ( 1024×768 ), frac­tions ( 12⁄23 ), and ordi­nal suf­fixes ( 3rd )
  • CSS hooks for styling: amper­sands (class “amp”), acronyms (class “caps”), num­bers (class “num­bers”), ini­tial sin­gle quotes (class “quo”), and ini­tial dou­ble quotes & guillemets (class “dquo”).

This project merges, builds upon, and gen­er­al­izes the func­tion­al­ity of wp-​​Typogrify, wp-​​Hyphenate and SmartyPants.

(Hastily put together by Gabriel Jeffrey.)

About

Plugin for Koken using the PHP-Typography library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages