
Create & Publish a Quarto Blog on Quarto Pub in 100 Seconds | Quarto Pub
Thomas Mock, Quarto Product Manager, walks you through how to build a simple blog with Quarto and share it with the world on quarto.pub, all in less than two minutes. Quarto is the multi-language publishing system. It also allows you to publish executable code blocks to include R, Python, Julia, or Observable JS output in your blog posts (and many other formats). Quarto websites and blogs are particularly excellent ways to develop your technical skills and share your learnings with the world. Resources, ⬡ Creating a Quarto Blog, https://quarto.org/docs/websites/website-blog.html ⬡ Publishing to Quarto Pub, https://quarto.org/docs/publishing/quarto-pub.html ⬡ Customize your Quarto blog or Website. This example creates and deploys a simple Quarto blog template, but there are ways to customize and style your content. Isabella Velásquez walks through this in detail at the Sept 2022 meetup, https://youtu.be/CVcvXfRyfE0 ⬡ Learn more about Quarto at quarto.org. Requirements, - To publish from the RStudio IDE, you'll need to be working on a recent version of RStudio, v2022.07.1 or later. - You may also work from Jupyter Labs, VS Code, or a notebook integrated with the Quarto CLI
image: thumbnail.jpg
Transcript#
This transcript was generated automatically and may contain errors.
Let's create a blog from scratch with Quarto and then publish it out to the web.
So inside RStudio, I'm going to create a new project, new directory, new Quarto blog. We'll create that new session, let it switch over to the new environment, and now we're going to test building it locally. Quarto has gone ahead and created a bunch of different files that create the Quarto blog and all the different kind of hello world examples. We can see those locally just by checking on the build tab and click render website, and that will build the blog. We can see that we have a functioning blog, a post with code, as well as things like an about me page.
Publishing to Quarto Pub
So I have this locally, but I can also say I want to publish this to the web. Inside RStudio, I can go down to the console pane. I'm going to click over on the terminal or the command line interface and do Quarto Publish. This is going to provide me with a few options. You can publish to Quarto Pub, which is a free service that we provide.
I'm going to do that because I already have it set up. It's going to ask which account do you want to use? I already have an account on here, but if you don't have an account, it'll ask you to sign up. I'll click enter, and it's going to publish that to Quarto Pub with a specific name, in this case testblog2. I'll click enter, and it's going to use all that information and put it out on the web.
While it does all this, it's going to build all the website again, all the blog posts and everything together, re-render all those different components, and then ship it out to the web. In the span of this little speed run, we can go from no blog to new blog to blog on the internet and go and look at it. And now we have a blog post that we can share and a blog to share with the world.
In the span of this little speed run, we can go from no blog to new blog to blog on the internet and go and look at it. And now we have a blog post that we can share and a blog to share with the world.
To learn more about using Quarto as a computational notebook for technical or scientific communication, please check out the resources at quarto.org. Thanks!
