Skip to content

Commit

Permalink
Describe custom styles in readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
hotwoofy committed Jul 18, 2014
1 parent e3eb0ab commit 4c10510
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Expand Up @@ -67,6 +67,22 @@ table can render different styles of tables:
|--- | ---|
| 3 | 4 |

table can also render custom styles:

user> (table [[10 20] [3 4]] :style {:top ["◤ " " ▼ " " ◥"]
:top-dash "✈︎"
:middle ["▶︎ " " " " ◀︎"]
:dash "✂︎"
:bottom ["◣ " " ▲ " " ◢"]
:bottom-dash "☺︎"
:header-walls [" " " " " "]
:body-walls [" " " " " "] })
◤ ✈︎✈︎ ▼ ✈︎✈︎ ◥
10 20
▶︎ ✂︎✂︎ ✂︎✂︎ ◀︎
3 4
◣ ☺︎☺︎ ▲ ☺︎☺︎ ◢

table can handle plain maps and vectors of course:

user=> (table (meta #'doc))
Expand Down

0 comments on commit 4c10510

Please sign in to comment.