Expand tables in help examples in std

This commit is contained in:
NotTheDr01ds 2024-06-13 18:39:22 -04:00
parent 323d5457f9
commit e5c5c66f17

View File

@ -658,7 +658,7 @@ def build-command-page [command: record] {
$" > ($example.example | nu-highlight)"
(if not ($example.result | is-empty) {
$example.result
| table
| table -e
| to text
| if ($example.result | describe) == "binary" { str join } else { lines }
| each {|line|