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

Progressively render cells from script files #366

Open
jtpio opened this issue Aug 28, 2019 · 3 comments
Open

Progressively render cells from script files #366

jtpio opened this issue Aug 28, 2019 · 3 comments

Comments

@jtpio
Copy link
Member

jtpio commented Aug 28, 2019

Moving the discussion from #330 (comment) to a new issue.

Similar to #133 the notebook created from script files could take advantage of inline cell delimiters (%%, In [1]:), and benefit from the future async capabilities by creating multiple cells instead of one:

https://github.com/QuantStack/voila/blob/344b4ff4f9d012ada2d984221a78dd8ec93d8241/voila/handler.py#L161

@flaviomorelli
Copy link

The challenge is how to take all the different formats generated by tools like jupytext into account (e.g. percentage script, markdown).

The reads and writes methods from TextNotebookConverter in Jupytext show examples of how to handle the parsing. The question is how to integrate the functionality into voila without having a jupytext dependency.

@jtpio
Copy link
Member Author

jtpio commented Oct 13, 2019

Thanks @flaviomorelli for investigating and the pointers 👍

@maartenbreddels
Copy link
Member

I am not sure this is a voila responsibility, we'd be reproducing Jupytext right?

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

3 participants