Home

Awesome

boot-hyphenate

Clojars Project

Boot task to hyphenate HTML files using clj-hyphenate.

Use

The task will replace contents of HTML text nodes (p, h1-6, ...) with text which contains soft-hyphens (­). To tell browsers to use these soft-hyphens use following CSS:

p {
  hyphens: manual;
  /* Optional */
  text-align: justify;
}

License

Copyright (C) 2015 Juho Teperi

Distributed under the MIT License.