Files
cheatsheet-tldr/tldr/quarto
2025-12-12 00:21:51 +00:00

30 lines
883 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# quarto
> An open-source scientific and technical publishing system built on Pandoc.
> More information: <https://quarto.org/docs/reference/projects/options.html>.
- Create a new project:
`quarto create-project {{path/to/destination_directory}} --type {{book|default|website}}`
- Create a new blog website:
`quarto create-project {{path/to/destination_directory}} --type {{website}} --template {{blog}}`
- Render input file(s) to different formats:
`quarto render {{path/to/file.[qmd|rmd|ipynb]}} --to {{html|pdf|docx}}`
- Render and preview a document or a website:
`quarto preview {{path/to/destination_directory|path/to/file}}`
- Publish a document or project to Quarto Pub, Github Pages, RStudio Connect, or Netlify:
`quarto publish {{quarto-pub|gh-pages|connect|netlify}}`