You can create markdown tables by concating some strings together like so.
The syntax for markdown tables is here.
Foo | Bar | Baz |
---|---|---|
foo | bar | 12.00 |
quz | quux | 1.0 |
This means you can also get data out of a tablecloth/tech.ml dataset and format it too.
Foo | Bar | Baz |
---|---|---|
foo0 | bar0 | 12.0 |
foo1 | bar1 | 1.0 |
foo2 | bar2 | 1.01 |
You can also use p/dataset->str
with {:print-line-policy :markdown}
_unnamed [3 3]:
Foo | Bar | Baz |
---|---|---|
foo0 | bar0 | 12.00 |
foo1 | bar1 | 1.00 |
foo2 | bar2 | 1.01 |