Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Typogrify

1,894 sites Security covered Drupal 8–11
View on drupal.org

This module improves the typographical quality of your content by automatically applying refinements like properly formatting quotation marks, preventing single words from appearing on their own line, and enhancing the appearance of ampersands and capital letters. It can also convert hyphens to dashes and handle other text formatting for a more professional look.

Typogrify.module brings the typographic refinements of Typogrify to Drupal. (Thanks to the Internet archive's Wayback machine for preserving that blog post.)

  • Wraps ampersands (the “&” character) with <span class="amp"></span>.
  • Prevents single words from wrapping onto their own line using Shaun Inman's Widont technique.
  • Converts straight quotation marks "" to typographer's quotation marks “”, „“ or «» using SmartyPants language dependent.
  • Converts multiple hyphens to en dashes and em dashes (according to your preferences), using SmartyPants.
  • Wraps multiple capital letters with <span class="caps"></span>.
  • Wraps initial quotation marks with <span class="quo"></span> or <span class="dquo"></span>.
  • Adds a css style sheet that uses the <span> tags to substitute a showy ampersand in headlines, switch caps to small caps, and hang initial quotation marks.
  • Inserts ligatures (if supported by platform and browser).
  • Replaces ascii arrows with unicode arrows (if supported by platform and browser).
  • Inserts thin-space in abbreviations.
  • Groups digits in large numbers.
  • Replaces = in words with a soft hyphen (&shy;), to allow hyphenated line-breaks.

Learn more about Typogrify

The original Typogrify is Python code by Christian Metts. Typogrify.module uses Hamish Macpherson's PHP port of that code, php-typogrify.

Learn more about setting type for the web

Hints

  • After updates: open all filter using typogrify, check the new features and save.
  • To avoid conflicts with other filter, typogrify should be the last in the filter-queue.

Drupal 8

The 8.x-1.0 release is compatible with Drupal 8 and Drupal 9.

Depends on

Dependencies of the latest stable release

  • filter Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Dec 2024
Latest release
6 months ago
Releases (12 mo)
1
Maintenance
Active

Releases

Version Type Core Release date
8.x-1.5 Stable 8–11 Feb 5, 2026
8.x-1.4 Stable 8–11 Dec 29, 2024