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

Convert regular quarto code block to interactive editable code on demand #61

Open
joelostblom opened this issue Sep 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@joelostblom
Copy link

I'm creating a textbook using quarto live for both R and Py code. I have found quarto live very useful for the exercises, but the initial load time and code cell formatting makes it less suitable to replace every single code cell in the book.

I believe my ideal setup would be that all code cell outputs are included in the page by default during build time, so that they appear instantly when a reader is looking for content and quickly scanning pages. These cells would ideally look the same as the default quarto code cells, but include a button ("Edit" or similar) which when pressed changes the appearance and enables editing of the code including making all packages / variables that were defined earlier in the document available to use in the currently activated code cell (so partly related to #15). The Panel documentation has a somewhat similar setup where clicking to run any particular cell, will make sure that all cells above are run as well (but they don't allow editing of the code).

@georgestagg georgestagg added the enhancement New feature or request label Oct 4, 2024
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

No branches or pull requests

2 participants