1.1.3 • Published 4 years ago

emdash-extending-forever-into-the-universe v1.1.3

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

friends

Abstract

Em dashes ——————— aren't long enough

Features

  1. Longer em dashes

Installation

npm install emdash-extending-forever-into-the-universe lmao

Include emdash-extending-forever-into-the-universe.min.js at the end of your body. Next, call foreverIntoTheUniverse();. You will probably want to call this once the DOM has loaded, so make sure to do so, although I'm sure you could get away without it. That's pretty much it. All your s should be longer now.

	<script type="text/javascript" src="emdash-extending-forever-into-the-universe.min.js"></script>
	<script type="text/javascript">
		document.addEventListener("DOMContentLoaded", function() {
			foreverIntoTheUniverse();
		});
	</script>
</body>

Options: 'Defaults'

foreverIntoTheUniverse({
    howLong: 2, // even longer if u want
    whatToReplace: "—", // u can make underscores and shit long too if u want
    whereToReplace: "body", // u can use specific classes or an id here too. no support for children or other elements sry
    howMuchCloserCouldWePossiblyBe: "0.25", // sometimes font hinting fucks this up a bit, so you can adjust this if so. this is a negative value
})

Dev

# setup env
$ yarn

# build (minify)
$ grunt

Colophon ——————————

The type used in the demo image is AUTHENTIC Sans 60 by AUTHENTIC ↗.

🥚

1.1.3

4 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago