examples/port-blocks.md in markdown_exec-2.6.0 vs examples/port-blocks.md in markdown_exec-2.7.0

- old
+ new

@@ -1,15 +1,7 @@ # Demo variable porting -```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 -``` - ::: 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. @@ -25,8 +17,20 @@ ::: 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 ``` + +| 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 +``` \ No newline at end of file