File tree 2 files changed +30
-0
lines changed
2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 82
82
display : contents;
83
83
}
84
84
85
+ .reveal pre div code .qwebr-output-code-stdout {
86
+ color : # 111 ;
87
+ }
88
+
89
+ .reveal pre div code .qwebr-output-code-stderr {
90
+ color : # db4133 ;
91
+ }
92
+
93
+
85
94
/* Create a border around console and output (does not effect graphs) */
86
95
.reveal div .qwebr-console-area {
87
96
border : 1px solid # EEEEEE ;
Original file line number Diff line number Diff line change @@ -31,6 +31,27 @@ summary(fit)
31
31
plot(pressure)
32
32
```
33
33
34
+ ## Help Documentation
35
+
36
+ ``` {webr-r}
37
+ ?mean
38
+ ```
39
+
40
+
41
+ ## Prints, Warnings, and Errors
42
+
43
+ ``` {webr-r}
44
+ cat("Hello there!\n")
45
+
46
+ x = c(1, 2, 3)
47
+ print(x)
48
+
49
+ warning("Uh-oh, something is amiss")
50
+
51
+ stop("I'm sorry Dave, I'm afraid I can't do that")
52
+ ```
53
+
54
+
34
55
## Keyboard Shortcuts
35
56
36
57
- Run selected code using either:
You can’t perform that action at this time.
0 commit comments