Expand tables in help examples in std
This commit is contained in:
parent
323d5457f9
commit
e5c5c66f17
|
@ -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|
|
||||
|
|
Loading…
Reference in New Issue
Block a user