to md

Convert table into simple Markdown


> to md --pretty --per-element


  • --pretty: Formats the Markdown table to vertically align items
  • --per-element: treat each row as markdown syntax element


Outputs an MD string representing the contents of this table

> [[foo bar]; [1 2]] | to md

Optionally, output a formatted markdown string

> [[foo bar]; [1 2]] | to md --pretty

Treat each row as a markdown element

> [{"H1": "Welcome to Nushell" } [[foo bar]; [1 2]]] | to md --per-element --pretty