HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

quarto — An open-source scientific and technical publishing system built on Pandoc. More information: <https:

Submitted by: @import:tldr-pages··
0
Viewed 0 times
technicalscientificcommandsourceandcliquartoopen

Problem

How to use the quarto command: An open-source scientific and technical publishing system built on Pandoc. More information: <https://quarto.org/docs/reference/projects/options.html>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: common/quarto

Revisions (0)

No revisions yet.