Sha256: 232dfe0d2acd519fcb055c80817fc7ac2cf0a7c2c3bea61770a352ad2569afbe

Contents?: true

Size: 533 Bytes

Versions: 1

Compression:

Stored size: 533 Bytes

Contents

Demonstrate setting a variable interactively for use in generated scripts.

```opts :(document_options)
pause_after_script_execution: false
user_must_approve: false
```

::: Set VARIABLE to "A"

```link :set_to_A +(set_to_A)
block: display_variable
```

```bash :(set_to_A)
VARIABLE=A
```

::: Set VARIABLE to "B"

```link :set_to_B +(set_to_B)
block: display_variable
```

```bash :(set_to_B)
VARIABLE=B
```

::: Display value of VARIABLE

```bash :display_variable
source bin/colorize_env_vars.sh
colorize_env_vars '' VARIABLE
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
markdown_exec-1.8.5 examples/linked.md