In a previous post you could see how to transform a table structure into Markdown markup for a table using the to md command.
Nushell also supports transforming lists into Markdown markup for ordered and unordered lists.
The input into the to md command should be a list of items.
This returns by default an unordered list in Markdown markup.
With the option --list (or short option -l) you can specify the value ordered to get an ordered list.
With value none the list of items is simply returned which each item on a new line.
Finally you can also explicitly use the value unordered to get the default behavior of an unordered list in Markdown markup.