Skip to content

Commit

Permalink
Clarify Quarto option loc; remove redundant note
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterius committed Nov 7, 2023
1 parent 5d49f8a commit 1b4d853
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
6 changes: 3 additions & 3 deletions pages/quarto/quarto-4-document-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ This can be a nice default to use in scientific reports, as it hides the code by
default but is always there for those who want to inspect it. You can also use
the `code-summary` chunk option to specify a different text to show with the
folded code instead of the default `Code`, *e.g.* `code-summary: Click to show
code`.
code`.

If you want to add the `code-summary` option to all chunks you can add
the following to the yaml header:

```yaml
language:
code-summary: Click to show code
code-summary: Click to show code
```

You can also add the `code-tools` option, which will add a drop-down menu to
Expand Down Expand Up @@ -74,7 +74,7 @@ true`. You can change the title of the table of contents using `toc-title`.

Quarto has a lot of [themes](https://bootswatch.com/) available for it.

* Add `theme: flatly` and render.
* Add `theme: flatly` under the HTML `format` option and render.

If you want to get real advanced you can play around with lots of details
regarding the themes and adjust as you see fit, or even just create your own
Expand Down
7 changes: 0 additions & 7 deletions pages/quarto/quarto-5-presentations.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ header levels.

* Render your document using the `--to revealjs` flag and open it.

> **Note** <br>
> If you get an `NotFound: No such file or directory (os error 2)` error when
> doing this, it is likely due to a known bug. Try adding the `revealjs` format
> in your YAML header along with an option, _e.g._ `theme: default` - check the
> [Presentation options](#presentation-options) below for details on how to do
> this.
You should now have the same document we've been working on for this tutorial in
presentation format! You can step through the slides using the arrow keys, press
`F` to go into full-screen mode, `S` to view speaker notes, `M` for the menu
Expand Down

0 comments on commit 1b4d853

Please sign in to comment.