Skip to content

Commit

Permalink
Show live example on index page
Browse files Browse the repository at this point in the history
  • Loading branch information
coatless committed Nov 25, 2024
1 parent d884d8b commit e662256
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,19 @@ print("Hello, World!")

This will automatically create a tabset with three tabs: "Python", "Javascript", and "R", each containing the respective code.

::: {.tabby}
```python
print("Hello, World!")
```

```javascript
console.log("Hello, World!");
```

```r
print("Hello, World!")
```
:::

### Default Tab Selection

Expand Down

0 comments on commit e662256

Please sign in to comment.