Sha256: 350deaa76b83f0b3ffaf86bc555a092f3427c04d3772a732339e22423432ebbf
Contents?: true
Size: 850 Bytes
Versions: 3
Compression:
Stored size: 850 Bytes
Contents
# Demo variable porting ::: 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.} ``` | Variable| Value | -| - | VAULT| ${VAULT} | VAULT2| ${VAULT2} @import example-document-opts.md ```opts :(document_opts) dump_inherited_lines: true execute_in_own_window: false output_execution_report: false output_execution_summary: false pause_after_script_execution: true ```
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
markdown_exec-2.7.2 | examples/port-blocks.md |
markdown_exec-2.7.1 | examples/port-blocks.md |
markdown_exec-2.7.0 | examples/port-blocks.md |