vdmeer / asciitable

Several implementations of a text table, originally using ASCII and UTF-8 characters for borders.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code for Examples

numeralnathan opened this issue · comments

On the main page, there are several examples of what AsciiTable can do. Please add the code necessary to create such a table. It took me a while to figure out where the grids are created and how to set the grid into the table.

There is a link to the AsciiTable site on the main page as well, and on the site you find some documentation on how to add grids and how to create your own grid.

Grids with different frames: http://www.vandermeer.de/projects/skb/java/asciitable/examples/AT_06a_Grids.html

Different rule styles in a grid: http://www.vandermeer.de/projects/skb/java/asciitable/examples/AT_06b_GridRuleStyle.html

Grid themes for a table: http://www.vandermeer.de/projects/skb/java/asciitable/examples/AT_06c_GridThemes.html

Defining a new grid: http://www.vandermeer.de/projects/skb/java/asciitable/examples/AT_06d_NewGrid.html

Documentation needs to be improved, but basic functionality is explained there.

thanks
/sven

The same is available even in the repository. You can find the example htmls under src/site/asciidoc/examples. These adoc files internal have references to code in the test directory - like src/test/java/de/vandermeer/asciitable/examples/.