Skip to content

Commit 0677edb

Browse files
raoulkent132ikl
andauthored
Update make_docs.nu
Co-authored-by: 132ikl <[email protected]>
1 parent 5f92c99 commit 0677edb

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

make_docs.nu

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,15 @@ $"## Notes
243243
$input_output = ($input_output | append [[input output]; [$input $output]])
244244
}
245245
# Input/output types: use help commands
246-
let input_output_table = help commands | where name == $command.name | get input_output | first | to md
246+
let input_output_table = (
247+
help commands
248+
| where name == $command.name
249+
| get input_output
250+
| first
251+
| to md --pretty
252+
| str replace -a '<' '&lt;'
253+
| str replace -a '>' '&gt;'
254+
)
247255
let in_out = if ($input_output_table | is-empty) {
248256
''
249257
} else {

0 commit comments

Comments
 (0)