5 ms·
Quarto
- jfisher4024 3y agoQuarto is great
- asicsp 3y agoPrevious discussion: https://news.ycombinator.com/item?id=30042831 https://news.ycombinator.com/item?id=30042831 (234 points | Jan 23, 2022 | 33 comments) Generating website, epub and pdf from markdown is an attractive option. I did it with pandoc/mdbook, but would've likely gone with Quarto if it had been available at that time.
- dang 3y agoThanks! Macroexpanded: Publishing Documents with Quarto - https://news.ycombinator.com/item?id=38358214 https://news.ycombinator.com/item?id=38358214 - Nov 2023 (1 comment) Quarto: A scientific and technical publishing system built on Pandoc - https://news.ycombinator.com/item?id=30042831 https://news.ycombinator.com/item?id=30042831 - Jan 2022 (33 comments)
- dappermanneke 3y agoeven back when this was just known as RNotebooks this was a great system for producing executable reports that did not warrant the complications of a full latex setup. it’s only gotten better since
- fredguth 3y agoThe latest version has Typst support and allow producing pdf files much faster than any LateX distribution. Even with a complex template it compiles almost instantly and you can see the final pdf changing while you are typing.
- ericjmorey 3y agoI'm increasingly accepting of the opinion that PDFs are an obsolete file format.
- cscheid 3y ago(disclosure: I work on Quarto) I 100% agree with you. It's partly why tools from the Quarto lineage (knitr, rmarkdown) work hard to make popular latex features like crossreferences work in HTML and other forward-facing formats. At the same time, if you haven't tried Typst, my opinion is that doing so is an afternoon well spent. It's an impressive system even early in its development stage. I'm hoping it finally displaces LaTeX --- and I'm a former academic having written about a hundred papers in LaTeX!
- CJefferson 3y agoI have high hopes for Typst, but I'm very disappointed they didn't design for accessibility from the start (and nice HTML would have done the job). It's shocking how inaccessible latex's output is, and yet Typst manages to be even worse! Quarto's html output on the other hand is generally lovely for accessible output.
- __mharrison__ 3y agoAs an author, PDFs are indispensable. A good chunk of folks still prefer to read physical books. When I migrated my own tooling from rst, I was looking at Quarto but ended up rolling my own pandoc/md tooling.
- ericjmorey 3y agoWhy not use epub?
- __mharrison__ 3y agoHard to print a good looking physical book from EPUBs. (I generate EPUBs too.)
- shorpy 3y agoQuarto is pretty different from Rmarkdown because it doesn't require an R runtime. This opens up a lot of possibilities when you don't want to include the R dependency.
- Tomte 3y agoIs there a way (a common template/theme or so) to get small, fast-loading web pages from quarto? Obviously, as soon as you‘re using math, you‘ll get MathJax or KaTex, all the reactive stuff needs JavaScript libraries, but is there a small baseline for just „heading paragraph paragraph image paragraph“ type pages?
- bluish29 3y agoAll major browsers supports Mathml now, which means you can type latex and math equations without any need for JS libraries like KaTeX. And for your request, I would suggest bearblog template [1] (it is inspired by bearblog itself). It doesn't use any JS and provide minimal way to have a blog (website) and quarto supports hugo specific format that can help. [2] [1] https://github.com/janraasch/hugo-bearblog https://github.com/janraasch/hugo-bearblog [2] https://quarto.org/docs/output-formats/hugo.html https://quarto.org/docs/output-formats/hugo.html
- fredguth 3y agoIs the default template not small and fast enough for you? It generates html in a folder and afaik it the file is self-contained, i.e. it includes in the html all 200-ish lines of js it uses, no external dependencies.
- Tomte 3y agoI don't know. Both the Quarto web site and the Quarto-generated sites I have looked at seem to be rather fat. Let's look at Lighthouse (I know it's not the be-all and end-all) for https://quarto.org/docs/websites/website-blog.html https://quarto.org/docs/websites/website-blog.html: performance score 68 with a FCP time of 2.7 seconds, and earlier today it was 4.something. That seems to be a lot.
- Etheryte 3y agoI think the gallery might be a better comparison point for what you're looking for as it shows the actual output of Quatro. E.g. https://quarto-dev.github.io/quarto-gallery/articles/html/html.html https://quarto-dev.github.io/quarto-gallery/articles/html/ht... which matches your description of heading-paragraph-image type of page yields performance 99 and FCP 0.8s.
- mdtrooper 3y agoI thought that it was the board game: https://en.wikipedia.org/wiki/Quarto_(board_game) https://en.wikipedia.org/wiki/Quarto_(board_game)
- clircle 3y agoWhat is the benefit over rmarkdown? More languages?
- greazy 3y ago> Quarto combines the functionality of R Markdown, bookdown, distill, xaringian, etc into a single consistent system with “batteries included” that reflects everything we’ve learned from R Markdown over the past 10 years. AND the biggest advantage: it does not require R. I also like it because it brings the Rstudio style notebook to Python. I dislike Jupyter style notebooks, which are these chunks. Just a personal preference.
- 0thgen 3y agoit feels like jupyter without all the extra baggage
- shorpy 3y agoYup! You can actually render jupyter notebooks into quarto outputs. I like Quarto better than Jupyter because it's a lot easier to version control .qmd files.
- cscheid 3y ago(disclosure: I'm a Quarto dev) You can also render _to_ Jupyter notebooks from .qmd files, in case that would be useful for your workflow. We've put a lot of effort into making Jupyter interop a good experience in Quarto, for folks in either the Knitr or Jupyter ecosystem.
- bjornbsm 3y agoDo you map the tags[1] to a hotkey to avoid writing them all the time? Quite interested in this because of the version control as you mention. 1. ```{python}
- shorpy 3y agoThe main benefit is that you get a Python (or R, Julia or Rust) interpreter. So you can evaluate code. A good example of the value of this is the Ibis docs which use Quarto: https://ibis-project.org/ https://ibis-project.org/
- intelkishan 3y agoIt's a great piece of software. I write my blog using it and host it on GitHub Pages.
- shorpy 3y agoOne of the things I really love about Quarto is that it's a great way to package WebAssembly tools. For example the Shiny for Python website is built using Quarto and has tons of WASM examples which let people play around with the framework without having to install it. It's really changed how we write documentation. https://shiny.posit.co/py/docs/overview.html https://shiny.posit.co/py/docs/overview.html Some other great quarto features: - Write Python Package documentation with Quarto Doc: https://github.com/machow/quartodoc https://github.com/machow/quartodoc - Make static dashboards with Quarto Dashboard https://quarto.org/docs/dashboards/ https://quarto.org/docs/dashboards/ - Fully integrates Typst: https://quarto.org/docs/blog/posts/2024-01-24-1.4-release/#t https://quarto.org/docs/blog/posts/2024-01-24-1.4-release/#t... - Render to a ton of formats including PDF, HTML, Reveal JS, Word, and PowerPoint - Allows you to use GitHub with a Jupyter Notebook workflow
- deleted 3y ago[deleted]
- cscheid 3y agoQuarto dev here, happy to answer specific questions you might have!
- ericjmorey 3y agoIs there support for pluto notebooks? It doesn't seem so from searching online. If not, are there plans for supporting pluto notebooks?
- cscheid 3y agoExcellent question. My understanding is that Pluto has its own execution engine outside of Jupyter, and so would require the creation of a new "engine" in our codebase. We are a pretty lean team that has other priorities for 2024, but we would very much love to see Pluto running in Quarto. There is an open PR right now (https://github.com/quarto-dev/quarto-cli/pull/8645 https://github.com/quarto-dev/quarto-cli/pull/8645) to add a Julia-native engine to Quarto, from the developers of Makie which we hope to merge soon. I don't think that will provide instant Pluto support, but it will certainly make it easier for other Julia-native folks to build on.
- pdeffebach 3y agoI wish there was a better way to run quarto as a script, as in, as fast as `source` in R and `include` in Julia. Current behavior 1. Has scoping rules that make it difficult to debug 2. Has low latency, making it frustrating for debugging.
- cscheid 3y agoThanks for the feedback. The scoping rules are by design and match .ipynb workflows in the case of multiple documents, so we're unlikely to change it. The render latency of quarto is definitely higher than we'd love, but we have a plan and have been steadily improving it. Quarto 1.4 is generally about 20% faster than 1.3, and we have performance regression infrastructure to not let us slip on it.
- 3y ago
- deleted 3y ago[deleted]
- tylermw 3y agoJust wanted to say I recently converted my personal blog [1] from Wordpress to Quarto and it's been a joy to work in! The fantastic support for literate programming tools (code highlighting/annotation) and cross-referencing has taken away much of the friction to writing and releasing new posts. [1] See profile
- cscheid 3y ago(Hi there!) If y'all haven't seen the kind of magic that Tyler does with ray tracers in R (yes, you read it right), you're missing out. Go click on that link!
- edublancas 3y agoIf you're looking for a place to deploy Quarto projects for free, check out Ploomber Cloud. We added support recently and have some nice features like password protection: https://docs.cloud.ploomber.io/en/latest/apps/quarto.html https://docs.cloud.ploomber.io/en/latest/apps/quarto.html
- jarbus 3y agoHow feasible would it be to write a scientific paper in quarto? Is it possible to write something that one could publish at a conference? Or is this primarily for the web?
- bjornbsm 3y agoVery feasible, I write my papers using Quarto in vscode. Really easy to use different journal styles, handle references and cross references.