1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 22:22:09 +02:00
tldr/pages/common/quarto.md
2022-11-09 12:12:10 +00:00

24 lines
755 B
Markdown

# quarto
> An open-source scientific and technical publishing system built on Pandoc.
> More information: <https://quarto.org/>.
- 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}}`