Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block Scope #435

Open
CiaranOMara opened this issue Aug 23, 2021 · 0 comments
Open

Block Scope #435

CiaranOMara opened this issue Aug 23, 2021 · 0 comments

Comments

@CiaranOMara
Copy link

It would be useful to dynamically change block labels or options, either via WEAVE_ARGS or by including the evaluation of code block option in the mod/sandbox scope. As far as I understand, evaluating dynamic code block options is not currently possible, but please correct me if I'm mistaken.

The use-case I have in mind is labelling output images.

```julia; label="$(WEAVE_ARGS.group)"
plot(
    x = rand(9),
    y = rand(9),
    Geom.point
    )

Evaluation the code block options in the mod/sandbox scope, may be a step towards evaluating blocks in loop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant