Skip to content

Commit 620f37a

Browse files
committed
Add syntax highlighting to markdown.
1 parent 870835f commit 620f37a

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

renderer/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,35 +6,35 @@ This directory contains the renderer code and an example for how to interface wi
66

77
## Clone the rive-runtime repo
88

9-
```
9+
```sh
1010
git clone https://github.com/rive-app/rive-runtime.git
1111
cd rive-runtime/renderer
1212
```
1313

1414
## Build GLFW
1515

16-
```
16+
```sh
1717
pushd ../skia/dependencies
1818
./make_glfw.sh
1919
popd
2020
```
2121

2222
## Add build_rive.sh to $PATH
2323

24-
```
24+
```sh
2525
export PATH="$PATH:$(realpath ../build)"
2626
```
2727

2828
## Build & run
2929

30-
```
30+
```sh
3131
build_rive.sh release
3232
out/release/path_fiddle [/path/to/my.riv]
3333
```
3434

3535
## Build & serve for WebGL2
3636

37-
```
37+
```sh
3838
build_rive.sh ninja wasm release
3939
cd out/wasm_release
4040
python3 -m http.server 5555

viewer/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ Rive is built to be platform and subsystem agnostic so you can plug-in any rende
88
We currently provide build files for MacOS but we will be adding Windows and others soon too.
99
### MacOS
1010
All the build scripts are in viewer/build/macosx.
11-
```
11+
```sh
1212
cd viewer/build/macosx
1313
```
1414
You can tell the build script to build and run a Viewer that's backed by a Metal view with our Skia renderer:
15-
```
15+
```sh
1616
./build_viewer.sh metal skia run
1717
```
1818
An OpenGL example using a tessellating renderer:
19-
```
19+
```sh
2020
./build_viewer.sh gl tess run
2121
```
2222
Both the Skia and Tess renderers work with either gl or metal options.

0 commit comments

Comments
 (0)