Sha256: c5514dc88fccb6d80f6be64f3607cccb1aa601e513e9ecb584da687c79055bbe

Contents?: true

Size: 816 Bytes

Versions: 4

Compression:

Stored size: 816 Bytes

Contents

# Demo variable porting

```opts :(document_options)
dump_inherited_lines: true
execute_in_own_window: false
output_execution_report: false
output_execution_summary: false
pause_after_script_execution: true
```

::: Set the VAULT value in memory.
::: Call this block prior to `show` to demonstrate in-memory value being written to script.

```vars :set
VAULT: This variable was set by the "set" block.
```

::: This is a Port block that saves current/live environment variable values into the generated script.

```port :[vault]
VAULT
VAULT2
```

::: This block requires the Port block and displays the value.
::: The Port block contributes the variable VAULT to the generated script.

```bash :show +[vault]
: ${VAULT:=This variable has not been set.}
source bin/colorize_env_vars.sh
colorize_env_vars '' VAULT
```

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
markdown_exec-2.5.0 examples/port-blocks.md
markdown_exec-2.4.0 examples/port-blocks.md
markdown_exec-2.3.0 examples/port-blocks.md
markdown_exec-2.2.0 examples/port-blocks.md