examples/vars-blocks.md in markdown_exec-2.3.0 vs examples/vars-blocks.md in markdown_exec-2.4.0
- old
+ new
@@ -7,11 +7,11 @@
The hidden block "(defaults)" sets the environment variable VAULT to "default" if it is unset.
```bash :(defaults)
: ${VAULT:=default}
```
-::: Click below to trigger. If it prints "VAULT: default", the shell block was processed.
+::: Select below to trigger. If it prints "VAULT: default", the shell block was processed.
The named block prints the environment variable VAULT. It requires hidden block "(defaults)" before printing.
```bash :show_vars +(defaults)
source bin/colorize_env_vars.sh
colorize_env_vars '' VAULT
```
@@ -22,10 +22,10 @@
VAULT: 11
```
# DOES NOT WORK 2024-07-20
## This does not evaluate the shell block.
-::: Click below to trigger. If it prints "VAULT: 22", the shell block was processed.
+::: Select below to trigger. If it prints "VAULT: 22", the shell block was processed.
The block sets the environment variable VAULT to "22". It requires block "show_vars". Notice block "show_vars" is called after the variable is set.
```vars :[set_with_show] +show_vars
VAULT: 22
```