You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add `page-inset` to table of column options
* Typo + freeze
* Mention `favicon` under logos on brand page
* Add version shortcode to Guide sidebar
* Add example of .active class on tabsets
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`:
Copy file name to clipboardExpand all lines: docs/output-formats/html-basics.qmd
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -275,6 +275,24 @@ Tab content
275
275
:::
276
276
```
277
277
278
+
### Active Tabset
279
+
280
+
By default the first tab in the tabset will be active when a page loads.
281
+
To have a different tab active on page load, add the `.active` class to the tab heading.
282
+
For example, here the "Python" tab will be active on page load:
283
+
284
+
```markdown
285
+
::: {.panel-tabset}
286
+
## R
287
+
288
+
Tab content
289
+
290
+
## Python {.active}
291
+
292
+
Tab content
293
+
:::
294
+
```
295
+
278
296
## Self Contained
279
297
280
298
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:
0 commit comments