Skip to content

Commit 3853576

Browse files
committed
Enable TOC
1 parent 08dec1b commit 3853576

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ filters:
4040
- shinylive
4141
---
4242

43-
## {quarto-shinylive}
43+
## `{quarto-shinylive}`
4444

4545
```{shinylive-r}
4646
#| standalone: true
@@ -57,7 +57,7 @@ server <- function(input, output, session) {
5757
shinyApp(ui, server)
5858
```
5959

60-
## quarto-webr
60+
## `{quarto-webr}`
6161

6262
```{webr-r}
6363
print("hello quarto-webr world!")

index.qmd

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Pairing {quarto-shinylive} and {quarto-webr}
33
format:
44
html:
5+
toc: true
56
resources:
67
- shinylive-sw.js
78
engine: knitr
@@ -59,7 +60,7 @@ cell.
5960
### Interactive
6061

6162
```{webr-r}
62-
print("hello quarto-webr world!")
63+
print("Hello {quarto-webr} world!")
6364
```
6465

6566
### Non-interactive
@@ -130,8 +131,18 @@ shinyApp(ui, server)
130131

131132
## `{quarto-webr}`
132133

134+
135+
### Interactive
136+
137+
```{webr-r}
138+
print("Hello {quarto-webr} world!")
139+
```
140+
141+
### Non-interactive
142+
133143
```{webr-r}
134-
print("hello quarto-webr world!")
144+
#| context: output
145+
cat("And, this is a non-interactive cell", fill = TRUE)
135146
```
136147

137148
````

0 commit comments

Comments
 (0)