Skip to content

Commit 23f41ab

Browse files
committed
Add language specifiers for markdown code blocks
1 parent 9783e1f commit 23f41ab

File tree

22 files changed

+32
-32
lines changed

22 files changed

+32
-32
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ All webrtc dependent crates and examples are included in this repository at the
121121

122122
To build all webrtc examples:
123123

124-
```
124+
```shell
125125
cd examples
126126
cargo test # build all examples (maybe very slow)
127127
#[ or just build single example (much faster)
@@ -133,7 +133,7 @@ cargo build --example play-from-disk-h264 # build play-from-disk-h264 example on
133133

134134
To build webrtc crate:
135135

136-
```
136+
```shell
137137
cargo build [or clippy or test or fmt]
138138
```
139139

dtls/examples/certificates/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ $ rm "${EXTFILE}" "${SERVER_NAME}.csr" "${CLIENT_NAME}.csr"
2626
```
2727

2828
in pion/examples/util/util.go, convert ECPrivateKey to PKCS8PrivateKey
29-
```
29+
```go
3030
func LoadKey(path string) (crypto.PrivateKey, error) {
3131
....
3232
if key, err := x509.ParseECPrivateKey(block.Bytes); err == nil {

examples/examples/broadcast/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This could serve as the building block to building conferencing software, and ot
55

66
## Instructions
77
### Build broadcast
8-
```
8+
```shell
99
cargo build --example broadcast
1010
```
1111

examples/examples/data-channels-create/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ data-channels-create is a WebRTC.rs application that shows how you can send/recv
33

44
## Instructions
55
### Build data-channels-create
6-
```
6+
```shell
77
cargo build --example data-channels-create
88
```
99

examples/examples/data-channels-detach-create/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This allows direct access the the underlying [webrtc-rs/data](https://github.com
66
The example mirrors the data-channels-create example.
77

88
## Install
9-
```
9+
```shell
1010
cargo build --example data-channels-detach-create
1111
```
1212

examples/examples/data-channels-detach/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ data-channels is a WebRTC.rs application that shows how you can send/recv DataCh
33

44
## Instructions
55
### Build data-channels-detach
6-
```
6+
```shell
77
cargo build --example data-channels-detach
88
```
99

examples/examples/data-channels-flow-control/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ application to pace the amount of data to be pushed into the data channel.
2525
## How to run the example code
2626
The demo code implements two endpoints (requester and responder) in it.
2727

28-
```
28+
```plain
2929
signaling messages
3030
+----------------------------------------+
3131
| |
@@ -45,7 +45,7 @@ Once the data channel is successfully opened, requester will start sending a ser
4545

4646
Here's how to run the code:
4747

48-
```
48+
```shell
4949
$ cargo run --release --example data-channels-flow-control
5050
Finished release [optimized] target(s) in 0.36s
5151
Running `target\release\examples\data-channels-flow-control.exe`

examples/examples/data-channels/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ data-channels is a WebRTC.rs application that shows how you can send/recv DataCh
33

44
## Instructions
55
### Build data-channels
6-
```
6+
shell
77
cargo build --example data-channels
88
```
99

examples/examples/ice-restart/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ ice-restart demonstrates WebRTC.rs ICE Restart abilities.
44
## Instructions
55

66
### Build ice-restart
7-
```
7+
```shell
88
cargo build --example ice-restart
99
```
1010

1111
### Run ice-restart
12-
```
12+
```shell
1313
cargo run --example ice-restart
1414
```
1515

examples/examples/insertable-streams/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ E2E encyption, add metadata or insert a completely different video feed!
88

99
## Instructions
1010
### Create IVF named `output.ivf` that contains a VP8 track
11-
```
11+
shell
1212
ffmpeg -i $INPUT_FILE -g 30 output.ivf
1313
```
1414
1515
### Build insertable-streams
16-
```
16+
```shell
1717
cargo build --example insertable-streams
1818
```
1919

0 commit comments

Comments
 (0)