-
-
Notifications
You must be signed in to change notification settings - Fork 286
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
Way from julia and javascript to store metadata in notebook file #1482
Comments
See also #421 and https://www.notion.so/malyvsen/Flexible-notebook-format-61749c09aa1b450fa79f025d725bef4c (nothing here yet) |
Looks good! Note that #1209 goes one step further by also commenting out the cell code when (indirectly) disabled. |
I knew I didn't think of this by myself!! |
Love this! It would open up so many more possibilities! :D |
@dralletje Started working on this, ( can you make a draft PR? https://github.com/fonsp/Pluto.jl/compare/metadata-in-notebook-file?expand=1 ) |
My suggestion for the scope of this issue:
Fons' code above already covers most of 2.+3. What do you think? |
I'll take a shot in #1895 |
Soon we'll merge #1209 in, which will likely store a
disabled
field in the notebook in some way. We're going to need this more.Specifically, I need it to eventually make an app-grid-builder UI, and it feels better to have those values stored with the cell, instead of separately in a
# 0000000-...
cell. That does still make sense for global values, less for cell-specifiek values, but for cell-specific values it feels better to store it next to the cell.I'm thinking of "just" storing TOML:
This way it will support nesting, bare values, everything that TOML does!
And Julia people like TOML 😏
Fancier example, possibly with the tabletop-y ╢ thing even
The text was updated successfully, but these errors were encountered: