Skip to content

Commit

Permalink
add tabs to component guide
Browse files Browse the repository at this point in the history
Tabbed callouts and grouped tabs already appeared in the Episode episode, but not in the component guide. Adding to the component guide (and fixing broken link to Episodes episode from component guide).
  • Loading branch information
ErinBecker authored May 17, 2024
1 parent ca2c0b3 commit 23410aa
Showing 1 changed file with 61 additions and 1 deletion.
62 changes: 61 additions & 1 deletion learners/component-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ title: "Workbench Component Guide"

This is the component guide for the workbench. For details on how to create
components from [fenced divs][fenced-divs], read the [Callout Blocks section of
"Episode Structure"](episodes.Rmd#callout-blocks).
"Episode Structure"](episodes.html#callout-blocks).

::::::::::::::::::::::::::

Expand Down Expand Up @@ -152,3 +152,63 @@ that can be expanded and collapsed on demand.

:::::::::::::::::::::::::


### Tabbed Callouts

::::::::::::::::: tab

### Windows

Some Windows instructions

### Mac

Maybe some for Mac

### Linux

And more for Linux users, including a code block:

```python
print("Yay, tabs!")
```

:::::::::::::::::::::::::

### Grouped Tabs

The first tab specified is the default tab. Selecting a tab in one tab group changes the tab in
the other group(s).

::::::::::::::::::::: group-tab

### Windows

1

### Mac

2

### Linux

3

:::::::::::::::::::::::::::::::

::::::::::::::::::::: group-tab

### Windows

4

### Mac

5

### Linux

6

:::::::::::::::::::::::::::::::

0 comments on commit 23410aa

Please sign in to comment.