mirror of
https://github.com/9001/copyparty.git
synced 2025-10-03 01:39:26 +02:00
more lenient md table formatter
This commit is contained in:
parent
9c309b1498
commit
0c53de6767
2 changed files with 30 additions and 6 deletions
|
@ -139,6 +139,10 @@ a newline toplevel
|
|||
a table | big text in this | aaakbfddd
|
||||
second row | centred | bbb
|
||||
|
||||
||
|
||||
--|--|--
|
||||
foo
|
||||
|
||||
* list entry
|
||||
* [x] yes
|
||||
* [ ] no
|
||||
|
@ -227,3 +231,7 @@ unrelated neat stuff:
|
|||
awk '/./ {printf "%s %d\n", $0, NR; next} 1' <test.md >ln.md
|
||||
gawk '{print gensub(/([a-zA-Z\.])/,NR" \\1","1")}' <test.md >ln.md
|
||||
```
|
||||
|
||||
a|b|c
|
||||
--|--|--
|
||||
foo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue