Skip to content
Discussion options

You must be logged in to vote

Hi 👋,
Yes, global code blocks can be used to store a shared variable (so to share code, not results). The "reset globals" button is used to erase global code blocks from memory.
Documentation here: https://doc.notebookjs.app/#/magic_comments?id=global-variable
Usage example here: https://github.com/alagrede/znote-app/blob/master/examples/climate-active-fires.md

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alagrede
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants