Using Livebooks to write content -> needs export to static html or print styles for PDF generation #1529
PhillippOhlandt
started this conversation in
Ideas
Replies: 1 comment
-
There are open issues both for adding a print.css and exporting with Pandoc integration. Pull requests are welcome! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Livebook is a great tool to create content in combination with data. For example, if you want to explain something, mixed with some data driven charts.
Recently at work, I used Livebook to write about a specific problem we are facing and supported that with some data driven charts.
I used
Kino.render/1
to create a cell that outputs multiple markdown sections and some VegaLite chart grids inbetween.The issue was that I wanted to give these information to people that don't use Livebook. I had this nice little "article" inside my livebook but I couldn't export it to a shareable format. I ended up doing a screenshot which is rather meh.
It would have been cool to be able to export the livebook (actually, only its evaluated cell outputs) to a static html page. Ok, this doesn't work for all use cases since you don't want to send an html file around and you also don't always want to host it somewhere.
So, it would have been great to have actual print styles for a livebook so one can use the "Print to PDF" feature of the browser to create a neat PDF file.
Judging the Slack reactions on my message, the idea of sharing the evaluated livebook content seems to have some demand already.
Beta Was this translation helpful? Give feedback.
All reactions