Improves typography on your Jekyll site using typogruby, titlecase, and some other useful functions. Converts an ampersand (ex. &) converts a & surrounded by optional whitespace or a non-breaking space to the HTML entity and surrounds it in a span with a styled class. Surrounds two or more consecutive capital letters, perhaps with interspersed digits and periods in a span with a styled class. Typogruby cap module doesn't support having hyphens so there is a custom module. Converts special characters (excluding HTML tags) to HTML entities. Encloses initial single or double quotes, or their entities (optionally preceded by a block element and perhaps an inline element) with a span that can be styled. Applies smartpants to a given piece of text. Replaces space(s) before the last word (or tag before the last word) before an optional closing element (a, em, span, strong) before a closing tag (p, h[1-6], li, dt, dd) or the end of the string.

Features

  • Convert a given piece of text to titlecase
  • Main function to do all the typogruby functions from the method
  • Converts special characters (excluding HTML tags) to HTML entities
  • Surrounds two or more consecutive capital letters, perhaps with interspersed digits and periods in a span with a styled class
  • Typogruby cap module doesn't support having hyphens so there is a custom module
  • Converts an ampersand (ex. &) converts a & surrounded by optional whitespace or a non-breaking space to the HTML entity and surrounds it in a span with a styled class

Project Samples

Project Activity

See All Activity >

Categories

Web Design

License

MIT License

Follow Jekyll::Typogrify

Jekyll::Typogrify Web Site

Other Useful Business Software
PRTG Catches Network Issues Before They Cause Downtime Icon
PRTG Catches Network Issues Before They Cause Downtime

Threshold-based alerts flag problems early, so your team can act before users notice, not after.

Reactive troubleshooting usually means hearing about a problem from frustrated users, not your monitoring tool. PRTG sets threshold-based alerts across devices, servers and applications, notifying your team by email, SMS or push the moment a metric crosses a set limit. That means catching a failing disk or overloaded server before it becomes an outage and getting time back from firefighting. Start a free trial and set your first alerts today.
Download 30-Day Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Jekyll::Typogrify!

Additional Project Details

Programming Language

Ruby

Related Categories

Ruby Web Design Software

Registered

2023-09-18