All Projects → ozh → Ascii Tables

ozh / Ascii Tables

Quickly format table in ASCII. Great for code comments, or Github Markdown!

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Ascii Tables

Markdown Table
Markdown tables, with alignment
Stars: ✭ 164 (-60.58%)
Mutual labels:  markdown, ascii, table
termtable
Simple and highly customizable library to display tables in the terminal.
Stars: ✭ 41 (-90.14%)
Mutual labels:  ascii, table
Swiftymarkdown
Converts Markdown files and strings into NSAttributedStrings with lots of customisation options.
Stars: ✭ 1,274 (+206.25%)
Mutual labels:  markdown, formatting
outfancy
Python3 library to print tables in Terminal.
Stars: ✭ 47 (-88.7%)
Mutual labels:  ascii, table
Terminaltables
Generate simple tables in terminals from a nested list of strings.
Stars: ✭ 685 (+64.66%)
Mutual labels:  ascii, table
Pytablewriter
pytablewriter is a Python library to write a table in various formats: CSV / Elasticsearch / HTML / JavaScript / JSON / LaTeX / LDJSON / LTSV / Markdown / MediaWiki / NumPy / Excel / Pandas / Python / reStructuredText / SQLite / TOML / TSV.
Stars: ✭ 422 (+1.44%)
Mutual labels:  markdown, table
Go Pretty
Pretty print tables and more in golang!
Stars: ✭ 777 (+86.78%)
Mutual labels:  ascii, table
Libfort
C/C++ library to create formatted ASCII tables for console applications
Stars: ✭ 255 (-38.7%)
Mutual labels:  ascii, table
ctable
C library to print nicely formatted tables
Stars: ✭ 13 (-96.87%)
Mutual labels:  ascii, table
teks
Easily get custom go template based outputs to your command-line tool. Like in docker/kubernetes
Stars: ✭ 41 (-90.14%)
Mutual labels:  formatting, table
Diagon
Interactive ASCII art diagram generators. 🌟
Stars: ✭ 189 (-54.57%)
Mutual labels:  markdown, ascii
Csconsoleformat
.NET C# library for advanced formatting of console output [Apache]
Stars: ✭ 296 (-28.85%)
Mutual labels:  ascii, formatting
table
Produces a string that represents slice data in a text table, inspired by gajus/table.
Stars: ✭ 130 (-68.75%)
Mutual labels:  ascii, table
Simpletable
Simple tables in terminal with Go
Stars: ✭ 288 (-30.77%)
Mutual labels:  ascii, table
Markdeep
Official public Markdeep source archive
Stars: ✭ 373 (-10.34%)
Mutual labels:  markdown, formatting
Crowbook
Converts books written in Markdown to HTML, LaTeX/PDF and EPUB
Stars: ✭ 399 (-4.09%)
Mutual labels:  markdown
Sublime zk
A SublimeText3 package featuring ID based wiki style links, and #tags, intended for zettelkasten method users. Loaded with tons of features like inline image display, sophisticated tag search, note transclusion features, support for note templates, bibliography support, support for multiple panes, etc. to make working in your Zettelkasten a joy 😄.
Stars: ✭ 408 (-1.92%)
Mutual labels:  markdown
Boxes
Command line ASCII boxes unlimited!
Stars: ✭ 398 (-4.33%)
Mutual labels:  ascii
Lookatme
An interactive, terminal-based markdown presenter
Stars: ✭ 392 (-5.77%)
Mutual labels:  markdown
Pipe
🎷 一款小而美的博客平台,专为程序员设计。
Stars: ✭ 3,898 (+837.02%)
Mutual labels:  markdown

ascii-tables

Quickly format tables in ASCII. Great for code comments, or Github Markdown!

Play with it: https://ozh.github.io/ascii-tables/

Input text like this

Col1	Col2	Col3	Numeric Column
Value 1	Value 2	123	10.0
Separate	cols    with a tab or 4 spaces	-2,027.1
This is a row with only one cell

Press Create Table to get something like:

ASCII table (mysql style)

+----------------------------------+---------+------------------------+----------------+
|               Col1               |  Col2   |          Col3          | Numeric Column |
+----------------------------------+---------+------------------------+----------------+
| Value 1                          | Value 2 | 123                    |           10.0 |
| Separate                         | cols    | with a tab or 4 spaces |       -2,027.1 |
| This is a row with only one cell |         |                        |                |
+----------------------------------+---------+------------------------+----------------+

ASCII table (separated style)

+==================================+=========+========================+================+
|               Col1               |  Col2   |          Col3          | Numeric Column |
+==================================+=========+========================+================+
| Value 1                          | Value 2 | 123                    |           10.0 |
+----------------------------------+---------+------------------------+----------------+
| Separate                         | cols    | with a tab or 4 spaces |       -2,027.1 |
+----------------------------------+---------+------------------------+----------------+
| This is a row with only one cell |         |                        |                |
+----------------------------------+---------+------------------------+----------------+

ASCII table (compact style)

                Col1                  Col2              Col3            Numeric Column  
 ---------------------------------- --------- ------------------------ ---------------- 
  Value 1                            Value 2   123                                10.0  
  Separate                           cols      with a tab or 4 spaces         -2,027.1  
  This is a row with only one cell                                                      

ASCII table (Github Markdown style)

|               Col1               |  Col2   |          Col3          | Numeric Column |
|----------------------------------|---------|------------------------|----------------|
| Value 1                          | Value 2 | 123                    |           10.0 |
| Separate                         | cols    | with a tab or 4 spaces |       -2,027.1 |
| This is a row with only one cell |         |                        |                |

ASCII table (Reddit Markdown style)

               Col1               |  Col2   |          Col3          | Numeric Column 
----------------------------------|---------|------------------------|----------------
 Value 1                          | Value 2 | 123                    |           10.0 
 Separate                         | cols    | with a tab or 4 spaces |       -2,027.1 
 This is a row with only one cell |         |                        |                

ASCII table (reStructuredText Grid style)

+----------------------------------+---------+------------------------+----------------+
|               Col1               |  Col2   |          Col3          | Numeric Column |
+==================================+=========+========================+================+
| Value 1                          | Value 2 | 123                    |           10.0 |
| Separate                         | cols    | with a tab or 4 spaces |       -2,027.1 |
| This is a row with only one cell |         |                        |                |
+----------------------------------+---------+------------------------+----------------+

ASCII table (reStructuredText Simple style)

 ================================== ========= ======================== ================ 
                Col1                  Col2              Col3            Numeric Column  
 ================================== ========= ======================== ================ 
  Value 1                            Value 2   123                                10.0  
  Separate                           cols      with a tab or 4 spaces         -2,027.1  
  This is a row with only one cell                                                      
 ================================== ========= ======================== ================ 

ASCII table (Jira style)

|| Col1                             || Col2    || Col3                   || Numeric Column ||
|  Value 1                          |  Value 2 |  123                    |  10.0           | 
|  Separate                         |  cols    |  with a tab or 4 spaces |  -2,027.1       | 
|  This is a row with only one cell |          |                         |                 | 

ASCII table (rounded style)

.----------------------------------.---------.------------------------.----------------.
|               Col1               |  Col2   |          Col3          | Numeric Column |
:----------------------------------+---------+------------------------+----------------:
| Value 1                          | Value 2 | 123                    |           10.0 |
:----------------------------------+---------+------------------------+----------------:
| Separate                         | cols    | with a tab or 4 spaces |       -2,027.1 |
:----------------------------------+---------+------------------------+----------------:
| This is a row with only one cell |         |                        |                |
'----------------------------------'---------'------------------------'----------------'

ASCII table (bubbles style)

 o88888888888888888888888888888888888(_)888888888(_)888888888888888888888888(_)88888888888888888o 
(_)               Col1               (_)  Col2   (_)          Col3          (_) Numeric Column (_)
(888888888888888888888888888888888888(_)888888888(_)888888888888888888888888(_)888888888888888888)
(_) Value 1                          (_) Value 2 (_) 123                    (_)           10.0 (_)
(_) Separate                         (_) cols    (_) with a tab or 4 spaces (_)       -2,027.1 (_)
(_) This is a row with only one cell (_)         (_)                        (_)                (_)
 O8oooooooooooooooooooooooooooooooooo(_)ooooooooo(_)oooooooooooooooooooooooo(_)oooooooooooooooo8O 

ASCII table (girder style)

//==================================[]=========[]========================[]================\\
||               Col1               ||  Col2   ||          Col3          || Numeric Column ||
|]==================================[]=========[]========================[]================[|
|| Value 1                          || Value 2 || 123                    ||           10.0 ||
|| Separate                         || cols    || with a tab or 4 spaces ||       -2,027.1 ||
|| This is a row with only one cell ||         ||                        ||                ||
\\==================================[]=========[]========================[]================//

ASCII table (dots style)

........................................................................................
:               Col1               :  Col2   :          Col3          : Numeric Column :
:..................................:.........:........................:................:
: Value 1                          : Value 2 : 123                    :           10.0 :
: Separate                         : cols    : with a tab or 4 spaces :       -2,027.1 :
: This is a row with only one cell :         :                        :                :
:..................................:.........:........................:................:

Unicode table

╔══════════════════════════════════╦═════════╦════════════════════════╦════════════════╗
║               Col1               ║  Col2   ║          Col3          ║ Numeric Column ║
╠══════════════════════════════════╬═════════╬════════════════════════╬════════════════╣
║ Value 1                          ║ Value 2 ║ 123                    ║           10.0 ║
║ Separate                         ║ cols    ║ with a tab or 4 spaces ║       -2,027.1 ║
║ This is a row with only one cell ║         ║                        ║                ║
╚══════════════════════════════════╩═════════╩════════════════════════╩════════════════╝

Unicode (single line) table

┌──────────────────────────────────┬─────────┬────────────────────────┬────────────────┐
│               Col1               │  Col2   │          Col3          │ Numeric Column │
├──────────────────────────────────┼─────────┼────────────────────────┼────────────────┤
│ Value 1                          │ Value 2 │ 123                    │           10.0 │
│ Separate                         │ cols    │ with a tab or 4 spaces │       -2,027.1 │
│ This is a row with only one cell │         │                        │                │
└──────────────────────────────────┴─────────┴────────────────────────┴────────────────┘

Github Markdown table

|               Col1               |  Col2   |          Col3          | Numeric Column |
|----------------------------------|---------|------------------------|----------------|
| Value 1                          | Value 2 | 123                    |           10.0 |
| Separate                         | cols    | with a tab or 4 spaces |       -2,027.1 |
| This is a row with only one cell |         |                        |                |

Jira table

||             Col1               ||  Col2  ||          Col3         || Numeric Column ||
| Value 1                          | Value 2 | 123                    |           10.0 |
| Separate                         | cols    | with a tab or 4 spaces |       -2,027.1 |
| This is a row with only one cell |         |                        |                |

MediaWiki markup

{| class="wikitable"

! Col1
! Col2
! Col3
! Numeric Column
|-

| Value 1
| Value 2
| 123
| 10.0
|-

| Separate
| cols
| with a tab or 4 spaces
| -2,027.1
|-

| This is a row with only one cell
|
|
|
|}

Or even a boring html <table>

Leading characters can be added by selecting a comment style:

Style Characters Usage
none "" no comment style applied
doubleslant "// " C++/C#/F#/Java/JavaScript/Rust/Swift
hash "# " Perl/PowerShell/Python/R/Ruby
doubledash "-- " ada/AppleScript/Haskell/Lua/SQL
percent "% " MATLAB
singlespace " " (1 space) MediaWiki
quadspace "    " (4 spaces) reddit
singlequote "' " (single quote) VBA
rem "REM " BASIC/DOS batch file
c "C " Fortran IV
exclamation "! " Fortran 90
slantsplat "/* ... */ " CSS
xml "<!-- ... -->" XML

License

WTFPL. Do whatever the hell you want with it.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].