https://github.com/fongandrew/word-wrapper
Javascript that converts fluid text into fixed-width (e.g. 80-char) text and back
https://github.com/fongandrew/word-wrapper
Last synced: 3 months ago
JSON representation
Javascript that converts fluid text into fixed-width (e.g. 80-char) text and back
- Host: GitHub
- URL: https://github.com/fongandrew/word-wrapper
- Owner: fongandrew
- Created: 2014-05-31T09:35:45.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-06-01T07:27:53.000Z (almost 11 years ago)
- Last Synced: 2025-02-21T08:51:27.399Z (3 months ago)
- Language: JavaScript
- Size: 223 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
word-wrapper
============Word Wrapper is a simple app that converts fluid text into fixed-width (e.g. 80 character) text and back. It supports the following features:
* Custom Character Widths - In case you're not a fan of 80 char limits
* Prepending - Inserts a prepended string at the beginning of each line (e.g. a "# " or "// " at the beginning of each line for comments). The prepended string can also be removed when converting back from fixed width text.
* Paragraphs - Paragraphs should be denoted by double newlines. Word Wrapper should respect and preserve this when converting.[Index.html](http://fongandrew.github.io/word-wrapper/index.html) can be used to access the app. [SpecRunner.html](http://fongandrew.github.io/word-wrapper/SpecRunner.html) contains some simple tests to check the conversion scripts.