-
Notifications
You must be signed in to change notification settings - Fork 0
/
simple_markdown.md_intermed.nu
49 lines (31 loc) · 1.21 KB
/
simple_markdown.md_intermed.nu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# this script was generated automatically using numd
# https://github.com/nushell-prophet/numd
const init_numd_pwd_const = '/Users/user/git/numd'
# numd config loaded from `/Users/user/git/numd/numd_config_example1.yaml`
$env.config.footer_mode = 'always';
$env.config.table = {mode: rounded, index_mode: never,
show_empty: false, padding: {left: 1, right: 1},
trim: {methodology: truncating, wrapping_try_keep_words: false, truncating_suffix: ...},
header_on_separator: true, abbreviated_row_count: 1000}
"#code-block-marker-open-1
```nu" | print
"let $var1 = 'foo'" | nu-highlight | print
"```\n```output-numd" | print
let $var1 = 'foo'
"```" | print
"#code-block-marker-open-3
```nu" | print
"# This block will produce some output in a separate block
$var1 | path join 'baz' 'bar'" | nu-highlight | print
"```\n```output-numd" | print
# This block will produce some output in a separate block
$var1 | path join 'baz' 'bar' | table | print; print ''
"```" | print
"#code-block-marker-open-6
```nu" | print
"# This block will output results inline" | nu-highlight | print
"> whoami" | nu-highlight | print
whoami | table | print; print ''
"> 2 + 2" | nu-highlight | print
2 + 2 | table | print; print ''
"```" | print