Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deraen/boot-hyphenate
Boot task to hyphenate HTML files.
https://github.com/deraen/boot-hyphenate
Last synced: about 1 month ago
JSON representation
Boot task to hyphenate HTML files.
- Host: GitHub
- URL: https://github.com/deraen/boot-hyphenate
- Owner: Deraen
- License: mit
- Created: 2015-10-10T20:34:39.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-10T20:49:09.000Z (about 9 years ago)
- Last Synced: 2024-10-07T17:49:39.276Z (about 1 month ago)
- Language: Clojure
- Size: 129 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
README
# boot-hyphenate
[![Clojars Project](http://clojars.org/deraen/boot-hyphenate/latest-version.svg)](http://clojars.org/deraen/boot-hyphenate)[Boot](https://github.com/boot-clj/boot) task to hyphenate HTML files using
[clj-hyphenate](https://github.com/Deraen/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:```css
p {
hyphens: manual;
/* Optional */
text-align: justify;
}
```## License
Copyright (C) 2015 Juho Teperi
Distributed under the MIT License.