Skip to content

wadiim/tbg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Tbg

Tbg is a table generator. It reads Markdown-like input and generates a table using box-drawing characters.

Usage

tbg [file]

Input syntax

Table definition consist of hyphens creating each column's header and pipes separating each column.

example1

The outer pipes and the header row are optional.

example2

Cells can vary in width and do not need to be perfectly aligned within columns. There must be at least one hyphen in each column of the header row.

example3

You can align text to the left, right, or center of a column by including colons to the left, right, or on both sides of the hyphen(s) within the header row.

example4

License

MIT

Releases

No releases published

Packages

No packages published

Languages