Add padding to code samples and fix some indentation issues

Signed-off-by: lucperkins <lucperkins@gmail.com>
This commit is contained in:
lucperkins 2019-04-23 09:41:25 -07:00
parent 3b4f54cb78
commit 31451ff6b6
2 changed files with 21 additions and 15 deletions

View File

@ -225,28 +225,30 @@ int main(int argc, char** argv) {
Just like we did before, from the `examples/cpp/helloworld` directory:
1. Build the client and server after having made changes:
```sh
$ make
```
```sh
$ make
```
2. Run the server
```sh
$ ./greeter_server
```
```sh
$ ./greeter_server
```
3. On a different terminal, run the client
```sh
$ ./greeter_client
```
```sh
$ ./greeter_client
```
You should see the updated output:
```sh
$ ./greeter_client
Greeter received: Hello world
Greeter received: Hello again world
```
You should see the updated output:
```sh
$ ./greeter_client
Greeter received: Hello world
Greeter received: Hello again world
```
### What's next

View File

@ -57,6 +57,10 @@ p img {
width: 100%;
}
.highlight pre {
padding: 1rem;
}
.btn {
margin-top: 2%;