quarto: refresh page (#9491)

pull/1/head
Philippe Massicotte 2022-11-09 07:12:10 -05:00 committed by GitHub
parent d3203a1699
commit 43498fab3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 22 deletions

View File

@ -3,34 +3,22 @@
> An open-source scientific and technical publishing system built on Pandoc. > An open-source scientific and technical publishing system built on Pandoc.
> More information: <https://quarto.org/>. > More information: <https://quarto.org/>.
- 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}}` `quarto publish {{quarto-pub|gh-pages|connect|netlify}}`
- 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}}`