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
2121
2222## Examples
2323
24- obligatory Counter (` cargo run --example counter ` ):
24+ obligatory Counter:
25+
26+ ```
27+ cargo run --example counter
28+ ```
2529
2630``` rust
2731use rui :: * ;
@@ -45,7 +49,11 @@ fn main() {
4549
4650<img src =" screenshots/counter.png " alt =" counter screenshot " style =" width :50% ;" >
4751
48- some shapes (` cargo run --example shapes ` ):
52+ some shapes:
53+
54+ ```
55+ cargo run --example shapes
56+ ```
4957
5058``` rust
5159use rui :: * ;
@@ -66,7 +74,11 @@ fn main() {
6674
6775<img src =" screenshots/shapes.png " alt =" shapes screenshot " style =" width :50% ;" >
6876
69- canvas for gpu drawing (` cargo run --example canvas ` ):
77+ canvas for gpu drawing:
78+
79+ ```
80+ cargo run --example canvas
81+ ```
7082
7183``` rust
7284use rui :: * ;
@@ -92,7 +104,11 @@ fn main() {
92104
93105<img src =" screenshots/canvas.png " alt =" canvas screenshot " style =" width :50% ;" >
94106
95- ` slider ` with ` map ` (` cargo run --example slider ` ):
107+ ` slider ` with ` map ` :
108+
109+ ```
110+ cargo run --example slider
111+ ```
96112
97113``` rust
98114use rui :: * ;
@@ -126,7 +142,11 @@ fn main() {
126142
127143<img src =" screenshots/slider.png " alt =" slider screenshot " style =" width :50% ;" >
128144
129- widget gallery (` cargo run --example gallery ` ):
145+ widget gallery:
146+
147+ ```
148+ cargo run --example gallery
149+ ```
130150
131151<img src =" screenshots/gallery.png " alt =" widgets gallery screenshot " style =" width :50% ;" >
132152
You can’t perform that action at this time.
0 commit comments