Skip to content

Commit

Permalink
add language type to code blocks in failing readmes
Browse files Browse the repository at this point in the history
  • Loading branch information
ezpuzz committed Jan 29, 2021
1 parent a4d1099 commit ea8aa6c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion examples/asset_custom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

Loads an in-memory custom asset using a custom format.

```
```log
[INFO][asset_custom] Loaded energy blast: EnergyBlast { hp_damage: 10, mp_damage: 10 }
```
8 changes: 4 additions & 4 deletions examples/net_server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,27 @@ Usage:
- Run the client in a separate terminal.
- The client will silently connect to the server and then noisily send messages to the server with a debug message like:

```
```log
[INFO][net_client] Sending message for sim frame 1.
```

- When the client receives a message back from the server it will print a debug message like:

```
```log
[INFO][net_client] Payload: b"ok"
```

- The server, in the meantime will print a message when a client connects or disconnects:

```
```log
[INFO][net_server] New client connection: 127.0.0.1:63334
...
[INFO][net_server] Client Disconnected: 127.0.0.1:63334
```

- The server will also print address and payload information for each message it receives, though it won't print anything about it's responses.

```
```log
[INFO][net_server] 127.0.0.1:63334: b"CL: sim_frame:6,abs_time:0.202314849"
```

Expand Down
2 changes: 1 addition & 1 deletion examples/prefab_adapter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Creates a `PrefabData` using the adapter pattern.

No window is created for this demo, instead you should see debugging information printed to the console similar to:

```
```log
[INFO][amethyst::app] Initializing Amethyst...
[INFO][amethyst::app] Version: 0.15.0
[INFO][amethyst::app] Platform: x86_64-apple-darwin
Expand Down
2 changes: 1 addition & 1 deletion examples/prefab_custom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Create a `PrefabData` and instantiates multiple entities with different componen

No window is created for this demo, instead you should see debugging information printed to the console similar to:

```
```log
[INFO][amethyst::app] Initializing Amethyst...
[INFO][amethyst::app] Version: 0.15.0
[INFO][amethyst::app] Platform: x86_64-apple-darwin
Expand Down
2 changes: 1 addition & 1 deletion examples/prefab_multi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Creates a `PrefabData` and instantiates an entity with multiple components using

No window is created for this demo, instead you should see debugging information printed to the console similar to:

```
```log
[INFO][amethyst::app] Initializing Amethyst...
[INFO][amethyst::app] Version: 0.15.0
[INFO][amethyst::app] Platform: x86_64-apple-darwin
Expand Down

0 comments on commit ea8aa6c

Please sign in to comment.