Sha256: 92d16b58c52ec74e7cddd64abb28aceef61df5bbffa24b2edf56349550ada370

Contents?: true

Size: 990 Bytes

Versions: 3

Compression:

Stored size: 990 Bytes

Contents

# Demo document linking

::: * This is document 2 *
::: 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"

| 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}

::: This Link block requires a block that
::: 1. sets environment variable PAGE3_VAR_VIA_INHERIT,
::: 2. navigates to document 3, and

```bash :(vars3)
PAGE3_VAR_VIA_INHERIT=for_page3_from_page2_via_inherited_code_blocks
```

```link :linked3 +(vars3)
file: examples/linked3.md
```

```link :(linked3) +(vars3)
file: examples/linked3.md
```

```link :linked3_import_vars +(vars3)
file: examples/linked3.md
vars:
  page3_var_via_environment: for_page3_from_page2_via_current_environment
```

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
markdown_exec-2.7.2 examples/linked2.md
markdown_exec-2.7.1 examples/linked2.md
markdown_exec-2.7.0 examples/linked2.md