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

Add templates #550

Open
jonniedie opened this issue Oct 8, 2020 · 2 comments
Open

Add templates #550

jonniedie opened this issue Oct 8, 2020 · 2 comments

Comments

@jonniedie
Copy link

Since startup files don't work with the reproducibility model of Pluto, it would be nice to instead have a way to achieve the same thing with template files. So you could have a notebook with some statements at the top like setting environment variables (say, for plot backends), or some usings that you're always going to want imported in your notebooks. You'd then call Pluto.run("<filename>") or something to open up a notebook with those cells pre-populated at the top.

@fonsp
Copy link
Owner

fonsp commented Oct 8, 2020

Maybe this can be achieved by allowing the user to customize the list of sample notebooks. Maybe everything inside ~/.julia/pluto_sample_notebooks/ can be added

@jonniedie
Copy link
Author

I think that would be a great idea.

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

No branches or pull requests

2 participants