Permalink
Browse files

fix README

  • Loading branch information...
1 parent ddbd014 commit f3b13c742085ff24ce9fb7a40c47e199d3ddfe63 @eldargab committed Mar 13, 2012
Showing with 10 additions and 7 deletions.
  1. +10 −7 README.md
View
@@ -1,6 +1,4 @@
-
-<!-- saved from url=(0089)https://raw.github.com/gist/2017089/dfd8bee7cf06db6def8f01b3978551f5c9c810ab/gistfile1.md -->
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;"># Easy table
+# Easy table
Simple and nice utility for rendering text tables with javascript.
@@ -44,16 +42,21 @@ The full signature of `.cell()` method is:
t.cell(column, value, printer, width)
```
-Where `column` is a column name to print, `value` - cell's value, `printer` is a function with which cell's value should be printed, `width` - column's width.
+Where `column` is a column name to print, `value` - cell's value, `printer` is
+a function with which cell's value should be printed, `width` - column's width.
-By default column's width is ajusted to fit the longest value, but if specified explicitly it is fixed and any non-fitting cell is truncated.
+By default column's width is ajusted to fit the longest value, but if specified
+explicitly it is fixed and any non-fitting cell is truncated.
-Cell's value rendering occures in two phases. At the first phase `printer` function is called to get minimal width required to fit cell correctly, at the second phase `printer` function is called to get actual string to render with additional `width` parameter supplied.
+Cell's value rendering occures in two phases. At the first phase `printer`
+function is called to get minimal width required to fit cell correctly, at the
+second phase `printer` function is called to get actual string to render with
+additional `width` parameter supplied.
## Installation
Just install from the npm repository with:
```
$ npm install easy-table
-```</pre></body></html>
+```

0 comments on commit f3b13c7

Please sign in to comment.