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 buttons to export / download / view source for the whole notebook #101

Closed
josevalim opened this issue Mar 22, 2021 · 5 comments · Fixed by #457
Closed

Add buttons to export / download / view source for the whole notebook #101

josevalim opened this issue Mar 22, 2021 · 5 comments · Fixed by #457
Labels
discussion Needs to be discussed before moving forward feature New feature or request
Milestone

Comments

@josevalim
Copy link
Contributor

Since we have a markdown source, we should make it easier to download the markdown source if we want. The big question is where we are going to have those buttons. I believe we have two options right now:

  1. Put it under notebook settings in the sidebar

  2. Put those as buttons on the notebook title, similar to what we do to sections, see the red circle here:

Screenshot 2021-03-22 at 08 55 32

Another notebook-wide button that we may want to make accessible is the fork button.

@josevalim
Copy link
Contributor Author

josevalim commented Mar 22, 2021

I can also see this being a whole separate tab under settings, called export, especially if we want to support different kinds of export: export as HTML, export as Live Markdown, export to a new notebook (fork), etc. On the other hand, export as HTML it most likely just print and we will leverage print css.

@josevalim
Copy link
Contributor Author

josevalim commented Apr 8, 2021

Another export we may want to have is the export of only the Elixir code. Optionally with the markdown as comments. And optionally with outputs as comments.

@gamache
Copy link

gamache commented Apr 13, 2021

I'd love to use Livebook as the basis for a static blog generator, where users have the option to download the .livemd and play with it on their machines. If it were possible to export a fully evaluated notebook, this would be fairly simple.

@josevalim josevalim changed the title Add buttons to download / view source for the whole notebook Add buttons to export / download / view source for the whole notebook Apr 14, 2021
@Benjamin-Philip
Copy link
Contributor

Benjamin-Philip commented Apr 22, 2021

Speaking of exporting to HTML, I think we should support Pandoc. This will enable users to export to PDF, ipynb, docx etc. Maybe if we have the time, we could even setup Haskell - Elixir bindings to support conversion from our UI!

@josevalim josevalim added feature New feature or request discussion Needs to be discussed before moving forward labels May 20, 2021
@josevalim josevalim added this to the v0.3 milestone Jul 12, 2021
@josevalim
Copy link
Contributor Author

Reopening because we should at least add the export options to skip comments and to add outputs, as well as other export types if possible (print/html).

@josevalim josevalim reopened this Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Needs to be discussed before moving forward feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants