Publishing a GitHub Pages Blog with Quarto

Adding to your GitHub Pages blog with Jupyter Notebooks or Markdown generated HTML à la Fastpages using Quarto.
html
development
Author

Eric M. Baumel

Published

September 9, 2024

GitHub Pages Blog with Quarto

This is another of a series of mini-posts, mostly cheatsheets for my own use. Maybe of some value for others.

Inspired by the fastpages blogs

nbdev and Quarto an End-To-End Walkthrough

From Christian Wittmann - How I created this Blog

Install the Quarto extension for VS Code.

You can preview on your local system with

quarto preview <full/path/file.name> --no-browser --no-watch-inputs

When you run

quarto publish gh-pages

your blog posts are rendered, and the rendered versions are pushed to git in branch gh-pages

To backup your local copy of the unrendered files, save to the git main branch. For details see the GitHub cheatsheet, git init 2021

Markdown Cheat Sheet


About the author: Eric M. Baumel, MD is a board-certified diagnostic radiologist, app developer, and digital health entrepreneur. He teaches technology to healthcare professionals at Coding4Docs. Read more on the About page.