Skip to content

Commit

Permalink
Merge pull request #194 from carpentries/tabbed-callouts
Browse files Browse the repository at this point in the history
add tabs to component guide
  • Loading branch information
froggleston authored May 17, 2024
2 parents ca2c0b3 + 23410aa commit f63d625
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 f63d625

Please sign in to comment.