Julia Community 🟣

A year of using Quarto with Julia

Patrick Altmeyer on November 21, 2022

Earlier this year in July, I gave a short Experience Talk at JuliaCon. In a related blog post I explained how the introduction of Quarto made my ...
Collapse
 
svilupp profile image
Jan Siml

Nice overview! Me and my team have jumped to Quarto after reading your summer blog post - never looked back! A lot of html reports and revealjs presentations for our stakeholders.

A tip we learned: if you write a lot of code (our case for data analyses/EDA), it’s easier to stay in .jl and convert to .qmd with Literate.jl (PR: github.com/fredrikekre/Literate.jl...) with VSCode tasks

Collapse
 
patalt profile image
Patrick Altmeyer

Thanks, Jan - great to hear that this has worked out well for you and your team.

Very interesting you mention Literate.jl, actually. At the JuliaLang Eindhoven Meetup last night, I had the chance to discuss the potential for a Pluto.jl <-> Quarto conversion with the folks behind Pluto. The PR you linked might actually go a long way in terms of making that possible, since Pluto notebooks are just .jl files (with a bit of magic on top). Have a few other commitments in the coming weeks, but will give turn back to this.

Collapse
 
kellertuer profile image
Ronny Bergmann

I would be intereste in Pluto <-> Quarto as well :)

Collapse
 
fortunewalla profile image
Fortune Walla

One potential benefit of Jupyter notebooks is their connection to Google Colab: it is possible to store Jupyter notebooks on Github and make them available on Colab

Quite an informative article with many things to try for newcomers.

Did you try if it would be possible to install Quarto within Colab & try to run the notebook using Colab & generate the final document?

Collapse
 
patalt profile image
Patrick Altmeyer

Thanks! I don’t think there is an actual Quarto plugin for Colab, but you can of course always work with Jupyter notebooks in Colab and still use them with Quarto. In the article I recommend to use .qmd files, but Colab is actually one reason people might still also like to use .ipynb. Fortunately, converting .qmd to .ipynb and vice versa is seamless.

Collapse
 
fortunewalla profile image
Fortune Walla

I guess python tooling is a priority for Colab as of now. Perhaps someone will bridge the gap between Quarto & Colab soon.

Collapse
 
kellertuer profile image
Ronny Bergmann

Quarto in documenter.jl looks super interesting – I could not see how you actually run quarto on these – do you do that manually before pushing to GitHub? Or is that done on CI?

Collapse
 
patalt profile image
Patrick Altmeyer

Hi @kellertuer - good question! So far i've relied on conventional Quarto workflows (so just quarto render the whole thing locally). Should be straightforward to use CI for that, but I actually like to do this locally and see if everything renders well. Hope this helps!

Collapse
 
kellertuer profile image
Ronny Bergmann

I see your point, especially for longer computations in a tutorial pre-rendering locally might be nice – but if one could store the _freeze as an artefact then that might still be quite fast. I might experiment with that once I get a little more familiar with Quarto (currently fighting my starting steps).

Collapse
 
rolandka profile image
Roland Schätzle

A question concerning the use of forem: How did you get the phrase “Originally published at Medium” below the author name?

Collapse
 
patalt profile image
Patrick Altmeyer

Hi Roland, this was auto-generated, since I imported the article from Medium. @logankilpatrick pinned post describes how to link your forem account to an existing Medium account or blog. Hope this helps!

Collapse
 
rolandka profile image
Roland Schätzle

Hi Patrick, thanks for your rapid answer!

I've already read the articles of @logankilpatrick on how to use forem, but I haven't found a description on how to import a Medium article. I've only read that you can do this, but not how. Can you give me a hint, on how to do that or on a article that explains the process?

Thread Thread
 
patalt profile image
Patrick Altmeyer

Oh I see! You can find this under Settings > Extensions: forem.julialang.org/settings/exten....

Thread Thread
 
rolandka profile image
Roland Schätzle

Ah, thank you very much! 👍