quarto: add page (#8254)

This commit is contained in:
Philippe Massicotte
2022-07-27 19:38:16 -04:00
committed by GitHub
parent df1c9855a7
commit 71a3b6921e

36
pages/common/quarto.md Normal file
View File

@@ -0,0 +1,36 @@
# quarto
> An open-source scientific and technical publishing system built on Pandoc.
> More information: <https://quarto.org/>.
- Create a Quarto project:
`quarto create-project {{path/to/project}}`
- Create a new website project:
`quarto create-project {{path/to/destination_directory}} --type {{website}}`
- Create a new book project:
`quarto create-project {{path/to/destination_directory}} --type {{book}}`
- Render an R Markdown file to HTML:
`quarto render {{path/to/file.rmd}} --to {{html}}`
- Render a Quarto file to HTML:
`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}}`