Skip to content

Commit e556bd0

Browse files
authoredMay 21, 2019
Merge pull request #3 from apisearch-io/patch/fixed-readme-console-highlight
Console blocks with correct highlight
2 parents f56548e + 86f8b02 commit e556bd0

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed
 

‎README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Once updated your dependencies, you will find a brand new server bin inside the
3737
This is a PHP file. This means that the way of starting this server is by, just,
3838
executing it.
3939

40-
```php
40+
```console
4141
php vendor/bin/server 0.0.0.0:8100
4242
```
4343

@@ -49,7 +49,7 @@ configure how the server starts and what adapters use.
4949
overridden with option `--adapter` and the value must be a valid class
5050
namespace of an instance of `KernelAdapter`
5151

52-
```bash
52+
```console
5353
php vendor/bin/server 0.0.0.0:8100 --adapter=symfony4
5454
php vendor/bin/server 0.0.0.0:8100 --adapter=My\Own\Adapter
5555
```
@@ -60,7 +60,7 @@ php vendor/bin/server 0.0.0.0:8100 --adapter=My\Own\Adapter
6060
`Symfony4` and `autoload`. Can be overridden with the option `--bootstrap` and
6161
the value must be a valid path of a file, starting from the project root.
6262

63-
```bash
63+
```console
6464
php vendor/bin/server 0.0.0.0:8100 --bootstrap=symfony4
6565
php vendor/bin/server 0.0.0.0:8100 --bootstrap=autoload
6666
php vendor/bin/server 0.0.0.0:8100 --bootstrap=config/myfile.php
@@ -69,22 +69,22 @@ php vendor/bin/server 0.0.0.0:8100 --bootstrap=config/myfile.php
6969
- Environment: Kernel environment. By default `prod`, but turns `dev` if the
7070
option `--dev` is found.
7171

72-
```bash
72+
```console
7373
php vendor/bin/server 0.0.0.0:8100 --dev
7474
```
7575

7676
- Debug: Kernel will start with this option is enabled. By default false,
7777
enabled if the option `--debug` is found. Makes sense on development
7878
environment, but is not exclusive.
7979

80-
```bash
80+
```console
8181
php vendor/bin/server 0.0.0.0:8100 --dev --debug
8282
```
8383

8484
- Silent: No information nor any kind of report will be printed in the standard
8585
output. By default disabled, but can be enabled with `--silent`.
8686

87-
```bash
87+
```console
8888
php vendor/bin/server 0.0.0.0:8100 --silent
8989
```
9090

@@ -103,7 +103,7 @@ your kernel uses the AsyncKernel implementation.
103103
To turn on the asynchronous feature, just add this flag
104104

105105

106-
```bash
106+
```console
107107
php vendor/bin/server 0.0.0.0:8100 --non-blocking
108108
```
109109

@@ -116,7 +116,7 @@ You can override the static folder with the command option `--static-folder`.
116116
All files inside this defined folder will be served statically in a non-blocking
117117
way
118118

119-
```bash
119+
```console
120120
php vendor/bin/server 0.0.0.0:8100 --static-folder=public
121121
```
122122

@@ -125,6 +125,6 @@ useful when working with the adapter value and want to disable the default
125125
value, for example, for an API.
126126

127127

128-
```bash
128+
```console
129129
php vendor/bin/server 0.0.0.0:8100 --no-static-folder
130-
```
130+
```

0 commit comments

Comments
 (0)