-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #341 from cwickham/quarto-update
Quarto cheatsheet update
- Loading branch information
Showing
6 changed files
with
12 additions
and
17 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -170,7 +170,9 @@ Quarto documents (.qmd) can be edited in any tool that edits text. | |
quarto preview hello.qmd | ||
``` | ||
|
||
RStudio & VS Code: Use **Render** button | ||
RStudio: Use **Render** button ![](images/quarto-render-button.png){fig-alt="Icon from the Render button in RStudio" height="1.5em"} | ||
|
||
VS Code: Use **Preview** button ![](images/quarto-preview-button.svg){fig-alt="Icon from the Preview button in VS Code"} | ||
|
||
The resulting HTML/PDF/MS Word/etc. | ||
document will be created and saved in the same directory as the source .qmd file. | ||
|
@@ -202,7 +204,7 @@ When you render a document, Quarto: | |
quarto publish {venue} hello.qmd | ||
``` | ||
|
||
`{venue}`: quarto-pub, connect, gh-pages, netlify, confluence, (*v1.4*) posit-cloud | ||
`{venue}`: quarto-pub, connect, gh-pages, netlify, confluence, posit-cloud | ||
|
||
RStudio: Use **Publish** button ![](images/quarto-rstudio-publish.png){fig-alt="Publish button icon in RStudio" width="10%"} | ||
|
||
|
@@ -228,7 +230,7 @@ Get started from the command line: | |
quarto create project {type} | ||
``` | ||
|
||
`{type}`: default, website, blog, book, confluence, (*v1.4*) manuscript | ||
`{type}`: default, website, blog, book, confluence, manuscript | ||
|
||
RStudio: Use **File** \> **New Project** | ||
|
||
|
@@ -318,8 +320,6 @@ Value is `` `r knitr::inline_expr("2 + 2")` ``. | |
|
||
#### Jupyter | ||
|
||
[v1.4]{.small .muted} | ||
|
||
Value is `` `{python} 2 + 2` ``. | ||
|
||
</div> | ||
|
@@ -372,20 +372,14 @@ format: | |
::: | ||
|
||
Common values for `format`: html, pdf[^2], docx, odt, rtf, gfm, pptx, revealjs, beamer | ||
[^3] | ||
[^2] | ||
|
||
[^2]: PDFs and Beamer slides require LaTeX, use: | ||
|
||
``` {.bash filename="Terminal"} | ||
quarto install tinytex | ||
``` | ||
|
||
[^3]: PDFs and Beamer slides require LaTeX, use: | ||
|
||
``` {.bash filename="Terminal"} | ||
quarto install tinytex | ||
``` | ||
|
||
Render **all** formats: | ||
|
||
``` {.bash filename="Terminal"} | ||
|
@@ -574,8 +568,8 @@ Instead of `tip` use one of: `note`, `caution`, `warning`, or `important`: | |
|
||
### Shortcodes | ||
|
||
``` {.markdown shortcodes="false"} | ||
{{< include _file.qmd >}} | ||
```{.markdown} | ||
{{{< include _file.qmd >}}} | ||
``` | ||
|
||
``` {.markdown shortcodes="false"} | ||
|
@@ -592,7 +586,7 @@ CC BY SA Posit Software, PBC • [info\@posit.co](mailto:[email protected]) • [pos | |
|
||
Learn more at [quarto.org](https://quarto.org). | ||
|
||
Quarto 1.3 | ||
Quarto 1.4 | ||
|
||
Updated: `r format(Sys.Date(), "%Y-%m")`. | ||
|
||
|
Binary file not shown.
Binary file not shown.