Skip to content

Using variables in bash code blocks #436

@yousinix

Description

@yousinix

If a variable is used in the a bash code block, it won't be interpolated.

```bash
# This doesn't work
install {{ versions.default }}
```

```yaml
# This works
version: {{ versions.default }}
```

Example: widgetbook/widgetbook#1751

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions