Skip to content

Instantly share code, notes, and snippets.

@rissole
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rissole/4c46e7301d0a172afa66 to your computer and use it in GitHub Desktop.
Save rissole/4c46e7301d0a172afa66 to your computer and use it in GitHub Desktop.
Make tiny text gags. Just run in console then use tinytext('string') to make tiny. Only input lowercase letters a-z or space. q doesn't work either.
small = 'ᵃ ᵇ ᶜ ᵈ ᵉ ᶠ ᵍ ʰ ⁱ ʲ ᵏ ˡ ᵐ ⁿ ᵒ ᵖ q ʳ ˢ ᵗ ᵘ ᵛ ʷ ˣ ʸ ᶻ'.split(' '); tinytext = function(s) { return s.split('').map(function(c) { return c == ' ' ? ' ' : small[c.charCodeAt(0)-97] }).join('') }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment