readme: more syntax highlighting
parent
8ebb3a0fb8
commit
195da8ef3f
|
@ -69,7 +69,7 @@ Otherwise, follow these instructions:
|
||||||
|
|
||||||
You can create a `/usr/local/bin/v` symlink so that V is globally available:
|
You can create a `/usr/local/bin/v` symlink so that V is globally available:
|
||||||
|
|
||||||
```
|
```bash
|
||||||
sudo ./v symlink
|
sudo ./v symlink
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ Make sure V can compile itself:
|
||||||
v v.v
|
v v.v
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```bash
|
||||||
$ v
|
$ v
|
||||||
V 0.1.x
|
V 0.1.x
|
||||||
Use Ctrl-C or `exit` to exit
|
Use Ctrl-C or `exit` to exit
|
||||||
|
@ -105,7 +105,7 @@ hello world
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
```
|
```bash
|
||||||
cd examples
|
cd examples
|
||||||
v hello_world.v && ./hello_world # or simply
|
v hello_world.v && ./hello_world # or simply
|
||||||
v run hello_world.v # this builds the program and runs it right away
|
v run hello_world.v # this builds the program and runs it right away
|
||||||
|
|
Loading…
Reference in New Issue