examples/linked1.md in markdown_exec-2.6.0 vs examples/linked1.md in markdown_exec-2.7.0
- old
+ new
@@ -1,7 +1,8 @@
# Demo document linking
+@import example-document-opts.md
```opts :(document_opts)
dump_inherited_lines: true
pause_after_script_execution: false
user_must_approve: false
```
@@ -9,15 +10,16 @@
::: * This is document 1 *
::: This document links to a matching document to demonstrate navigation between documents.
::: This Bash block displays the value of variables "page1_var_via_environment" and "page2_var_via_environment"
-```bash :show_vars
-source bin/colorize_env_vars.sh
-colorize_env_vars 'vars for page2' PAGE2_VAR_VIA_INHERIT page2_var_via_environment
-colorize_env_vars 'vars for page3' PAGE3_VAR_VIA_INHERIT page3_var_via_environment
-```
+| Variable| Value
+| -| -
+| PAGE2_VAR_VIA_INHERIT| ${PAGE2_VAR_VIA_INHERIT}
+| page2_var_via_environment| ${page2_var_via_environment}
+| PAGE3_VAR_VIA_INHERIT| ${PAGE3_VAR_VIA_INHERIT}
+| page3_var_via_environment| ${page3_var_via_environment}
```bash :(vars2)
PAGE2_VAR_VIA_INHERIT=for_page2_from_page1_via_inherited_code_blocks
```
@@ -35,9 +37,8 @@
::: 3. executes block "show_vars" to display the imported PAGE2_VAR_VIA_INHERIT.
::: Any script generated by page 2 will contain the inherited code.
```link :linked2_import_vars +(vars2)
file: examples/linked2.md
-block: show_vars
vars:
page2_var_via_environment: for_page2_from_page1_via_current_environment
```