Skip to content

eldobbins/new-quarto-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

New Quarto Website

New Quarto Website contains all the boilerplate you need to create a website.

Preview and Render Locally

Website Previewing allows viewing of the completed website by generating HTML from the qmd files. VSCode and RStidio both render and preview pages automatically using a Render button.

To preview the website using commands in the terminal:

# preview the website in the current directory
quarto preview

It should automatically open a browser window. See quarto preview help for hints

You can also render the website without displaying it. The generated code goes in the _site directory (which should be listed in .gitignore)

# render the website in the current directory
quarto render 

Publishing via GitHub

Set things up (or is that the cc business)

Credits

Website format is based on the Quarto Website Tutorial developed by Openscapes. Code is avalable in the tutorial GitHub repo.

This project was created using the cookiecutter-quarto-website template that utilizes the Cookiecutter project.