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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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