SkillAgentSearch skills...

TypeMotion

A bookmarklet that helps setting typographic rythm in a text

Install / Use

/learn @y-lohse/TypeMotion
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

TypeMotion

TypeMotion is a bookmarklet that provides information about typographic rythm on any page and let's you adjust it, live. More details & demo on the project page.

Here's the code for the bookmarklet:

javascript:(function(){var a=document.createElement('script'),b=document.createElement('script');a.src='https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js';b.src='http://y-lohse.github.io/TypeMotion/typemotion.min.js?'+Math.floor((new Date)/(864e5));document.body.appendChild(a);document.body.appendChild(b);})(document);

Sidenodes

TypeMotion tends to add a couple of spaces within certain circunstences. I'll fix it at some point, but it's not enough to thrown the computations off too much, so no big deal.

When computing the measures, the last lines of paragraphs are ignored because they would significantly impact the average.

Other sidenotes

View on GitHub
GitHub Stars13
CategoryDevelopment
Updated2y ago
Forks0

Languages

JavaScript

Security Score

60/100

Audited on Sep 8, 2023

No findings