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
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Start Free
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