Skip to content

Make dialog execution opt-in via the eval cascade, and parse formdata booleans - #39

Merged
jph00 merged 1 commit into
mainfrom
pr/make-dialog-execution-opt-in-via-the-eval-cascade
Aug 10, 2026
Merged

Make dialog execution opt-in via the eval cascade, and parse formdata booleans#39
jph00 merged 1 commit into
mainfrom
pr/make-dialog-execution-opt-in-via-the-eval-cascade

Conversation

@jph00

@jph00 jph00 commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

instantiate_nb now runs code cells opt-in: by default only cells marked #| eval: true run, and a frontmatter eval: true flips the default. The full rule is fastcore's eval cascade, described under "Selecting cells to run" in the nbio docs. A cell that does not run contributes nothing to the filled document, not even its stored outputs, so a template's scratch work stays out unless asked for.

Formdata and fillmd --data values now parse with fastcore's strvals booleans, so a flag like paid: false is bool and {{#flag}} sections no longer render for flags the data turned off.

@jph00 jph00 added the enhancement New feature or request label Aug 10, 2026
@jph00
jph00 merged commit 9573be9 into main Aug 10, 2026
@jph00
jph00 deleted the pr/make-dialog-execution-opt-in-via-the-eval-cascade branch August 10, 2026 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant