From 43498fab3d7e507a9735b6b2412ff56065d4553f Mon Sep 17 00:00:00 2001 From: Philippe Massicotte Date: Wed, 9 Nov 2022 07:12:10 -0500 Subject: [PATCH] quarto: refresh page (#9491) --- pages/common/quarto.md | 32 ++++++++++---------------------- 1 file changed, 10 insertions(+), 22 deletions(-) diff --git a/pages/common/quarto.md b/pages/common/quarto.md index f0b039fa6..7bf83e291 100644 --- a/pages/common/quarto.md +++ b/pages/common/quarto.md @@ -3,34 +3,22 @@ > An open-source scientific and technical publishing system built on Pandoc. > More information: . -- Create a Quarto project: +- Create a new project: -`quarto create-project {{path/to/project}}` +`quarto create-project {{path/to/destination_directory}} --type {{book|default|website}}` -- Create a new website project: +- Create a new blog website: -`quarto create-project {{path/to/destination_directory}} --type {{website}}` +`quarto create-project {{path/to/destination_directory}} --type {{website}} --template {{blog}}` -- Create a new book project: +- Render input file(s) to different formats: -`quarto create-project {{path/to/destination_directory}} --type {{book}}` +`quarto render {{path/to/file.{{qmd|rmd|ipynb}}}} --to {{html|pdf|docx}}` -- Render an R Markdown file to HTML: +- Render and preview a document or a website: -`quarto render {{path/to/file.rmd}} --to {{html}}` +`quarto preview {{path/to/destination_directory|path/to/file}}` -- Render a Quarto file to HTML: +- Publish a document or project to Quarto Pub, Github Pages, RStudio Connect or Netlify: -`quarto render {{path/to/file.qmd}} --to {{html}}` - -- Render a Jupyter notebook to HTML: - -`quarto render {{path/to/file.ipynb}} --to {{html}}` - -- Render an R Markdown, Jupyter, or Quarto file to PDF: - -`quarto render {{path/to/file}} --to {{pdf}}` - -- Render an R Markdown, Jupyter, or Quarto file to a Microsoft `docx` document: - -`quarto render {{path/to/file}} --to {{docx}}` +`quarto publish {{quarto-pub|gh-pages|connect|netlify}}`