Quantcast
Channel: Hunter Jerusalem Journal
Viewing all articles
Browse latest Browse all 636

Plain Text Tables

$
0
0
Tables how they should be

Plain text with Elastic Tabstops

Tabstops in adjacent lines should align as columns. This is called Elastic Tabstops by http://nickgravgaard.com/elastic-tabstops/.


Text editor should offer following options
a) Show table grid (should be default for non-code)
John Legend
Ohio
1978
Israel Kamakawiwoʻole

1959
Lil Peep
Pennsylvania 


b) Automatically align numbers
c) Overflow to next cell if empty
John Legend
Ohio
1978
Israel Kamakawiwoʻole
1959
Lil Peep
Pennsylvania 


d) Wrap long text in cell
John Roger Stephens
Springfield, Ohio, USA
December 28, 1978
Israel „Iz“ Kaʻanoʻi Kamakawiwoʻole
May 20, 1959
Gustav Elijah Åhr
Allentown, Pennsylvania, USA

c) and d) should automatically occur if table is too wide to fit in display port.

Markdown Tables how they should be

I wish Elastic Tabstops could conquer the world like Markdown. To extend Markdown with tables. Tabstops are original supposed for tables. In TSV (tab-separated values) format even tab and newline characters are possible inside. 

New line and tab stops inside table cell as plain text format

Source text, in tab-separated values (TSV) format:



Simple text
Line
break
Tab    stop
Text with "quote" and double""quote.

Markdown code to show this example:

```
Simple text"line
break""tabstop""Text with ""quote"" and double""""quote."
```


|             |               |             |                                      |
| ----------- | ------------- | ----------- | ------------------------------------ |
| Simple text | line<br>break | tabstop | Text with "quote" and double""quote. |



For code I cannot recommend elastic tabstops:


https://www.martzell.de/2019/06/einfachste-tabellen-uberall-moglich-mit.html


Viewing all articles
Browse latest Browse all 636