File tree Expand file tree Collapse file tree 1 file changed +25
-5
lines changed Expand file tree Collapse file tree 1 file changed +25
-5
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,11 @@ rui is GPU rendered and updates reactively (when your state changes). The focus
21
21
22
22
## Examples
23
23
24
- obligatory Counter (` cargo run --example counter ` ):
24
+ obligatory Counter:
25
+
26
+ ```
27
+ cargo run --example counter
28
+ ```
25
29
26
30
``` rust
27
31
use rui :: * ;
@@ -45,7 +49,11 @@ fn main() {
45
49
46
50
<img src =" screenshots/counter.png " alt =" counter screenshot " style =" width :50% ;" >
47
51
48
- some shapes (` cargo run --example shapes ` ):
52
+ some shapes:
53
+
54
+ ```
55
+ cargo run --example shapes
56
+ ```
49
57
50
58
``` rust
51
59
use rui :: * ;
@@ -66,7 +74,11 @@ fn main() {
66
74
67
75
<img src =" screenshots/shapes.png " alt =" shapes screenshot " style =" width :50% ;" >
68
76
69
- canvas for gpu drawing (` cargo run --example canvas ` ):
77
+ canvas for gpu drawing:
78
+
79
+ ```
80
+ cargo run --example canvas
81
+ ```
70
82
71
83
``` rust
72
84
use rui :: * ;
@@ -92,7 +104,11 @@ fn main() {
92
104
93
105
<img src =" screenshots/canvas.png " alt =" canvas screenshot " style =" width :50% ;" >
94
106
95
- ` slider ` with ` map ` (` cargo run --example slider ` ):
107
+ ` slider ` with ` map ` :
108
+
109
+ ```
110
+ cargo run --example slider
111
+ ```
96
112
97
113
``` rust
98
114
use rui :: * ;
@@ -126,7 +142,11 @@ fn main() {
126
142
127
143
<img src =" screenshots/slider.png " alt =" slider screenshot " style =" width :50% ;" >
128
144
129
- widget gallery (` cargo run --example gallery ` ):
145
+ widget gallery:
146
+
147
+ ```
148
+ cargo run --example gallery
149
+ ```
130
150
131
151
<img src =" screenshots/gallery.png " alt =" widgets gallery screenshot " style =" width :50% ;" >
132
152
You can’t perform that action at this time.
0 commit comments