A typographic pre-processor for HTML inspired by Typeset.js that gives you:
Yjarni Sigurðardóttir spoke to NATO from Iceland yesterday: "Light of my life, fire of my florins -- my sin, my soul. The tip of the tongue taking a trip to 118° 19' 43.5"."
"She's faster than a 120' 4" whale." Piña coladas were widely consumed in Götterdämmerung from 1880--1912. For the low price of $20 / year from Exhibits A-E... Then the duplex came forward. "Thrice the tower, he mounted the round gunrest, 'awaking' HTML. He can print a fixed number of dots in a square inch (for instance, 600 × 600)."
Yjarni Sigurðardóttir spoke to NATO from Iceland yesterday: “Light of my life, fire of my florins – my sin, my soul. The tip of the tongue taking a trip to 118° 19′ 43.5″.”
“She’s faster than a 120′ 4″ whale.” Piña coladas were widely consumed in Götterdämmerung from 1880–1912. For the low price of $20 / year from Exhibits A–E… Then the duplex came forward. “Thrice the tower, he mounted the round gunrest, ‘awaking’ HTML. He can print a fixed number of dots in a square inch (for instance, 600 × 600).”
gem install rtypeset
require 'typeset' raw_html = <<HTM <p>Yjarni Sigurðardóttir spoke to NATO from Iceland yesterday: "Light of my life, fire of my florins -- my sin, my soul. The tip of the tongue taking a trip to 118° 19' 43.5".":</p> HTM # Output beautifully-formatted HTML puts Typeset.typeset(raw_html)
Written by Trevor Fountain on a slow Tuesday, in response to a someone on Hacker News asking for a Ruby port of Typeset.js