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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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