Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ website:
href: docs/authoring/lipsum.qmd
- text: "Rearrange Contents"
href: docs/authoring/contents.qmd
- text: "Quarto Version"
href: docs/authoring/version.qmd
- docs/authoring/videos.qmd
- text: "Embeds"
href: docs/authoring/notebook-embed.qmd
Expand Down
3 changes: 2 additions & 1 deletion docs/authoring/article-layout.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,8 @@ Here are all of the available column specifiers:
| | column: body-outset-left | .column-body-outset-left |
| | column: body-outset-right | .column-body-outset-right |
+--------------+---------------------------------+---------------------------------+
| Page Inset | column: page-inset-left | .column-page-inset-left |
| Page Inset | column: page-inset | .column-page-inset |
| | column: page-inset-left | .column-page-inset-left |
| | column: page-inset-right | .column-page-inset-right |
+--------------+---------------------------------+---------------------------------+
| Page | column: page | .column-page |
Expand Down
24 changes: 13 additions & 11 deletions docs/authoring/brand.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -183,17 +183,19 @@ logo:

You don't need to specify all three---Quarto will use what you provide based on the following preferences:

+----------------------+----------------------------------------------+-------------------------------+
| Format | Location | Logo Preference (high to low) |
+======================+==============================================+===============================+
| `html`/`dashboard` | Top navigation bar | `small`\> `medium`\>`large` |
+----------------------+----------------------------------------------+-------------------------------+
| `html` | Side navigation | `medium`\>`small`\>`large` |
+----------------------+----------------------------------------------+-------------------------------+
| `typst` | Top left, control with `format: typst: logo` | `medium`\>`small`\>`large` |
+----------------------+----------------------------------------------+-------------------------------+
| `revealjs` | Bottom right corner of slides | `medium`\>`small`\>`large` |
+----------------------+----------------------------------------------+-------------------------------+
+---------------------------+----------------------------------------------+-------------------------------+
| Format | Location | Logo Preference (high to low) |
+===========================+==============================================+===============================+
| `html`/`dashboard` | Top navigation bar | `small`\> `medium`\>`large` |
+---------------------------+----------------------------------------------+-------------------------------+
| `html` | Side navigation | `medium`\>`small`\>`large` |
+---------------------------+----------------------------------------------+-------------------------------+
| `typst` | Top left, control with `format: typst: logo` | `medium`\>`small`\>`large` |
+---------------------------+----------------------------------------------+-------------------------------+
| `revealjs` | Bottom right corner of slides | `medium`\>`small`\>`large` |
+---------------------------+----------------------------------------------+-------------------------------+
| `website`/`book` project | `favicon` shown in browser tab | `small` |
+---------------------------+----------------------------------------------+-------------------------------+

You can also specify named logos under `images` which you can reference in `small`, `medium` and `large`. In particular, this allows you to set alternative text for your logos using `alt`:

Expand Down
18 changes: 18 additions & 0 deletions docs/output-formats/html-basics.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,24 @@ Tab content
:::
```

### Active Tabset

By default the first tab in the tabset will be active when a page loads.
To have a different tab active on page load, add the `.active` class to the tab heading.
For example, here the "Python" tab will be active on page load:

```markdown
::: {.panel-tabset}
## R

Tab content

## Python {.active}

Tab content
:::
```

## Self Contained

HTML documents typically have a number of external dependencies (e.g. images, CSS style sheets, JavaScript, etc.). By default these dependencies are placed in a `_files` directory alongside your document. For example, if you render `report.qmd` to HTML:
Expand Down