Skip to content

Commit 0a1e662

Browse files
committed
readme: allow examples copy/paste
1 parent 689dddd commit 0a1e662

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ chmod a+x ./lightpanda
5151
### Dump an URL
5252

5353
```console
54-
$ ./lightpanda --dump https://lightpanda.io
54+
./lightpanda --dump https://lightpanda.io
55+
```
56+
```console
5557
info(browser): GET https://lightpanda.io/ http.Status.ok
5658
info(browser): fetch script https://api.website.lightpanda.io/js/script.js: http.Status.ok
5759
info(browser): eval remote https://api.website.lightpanda.io/js/script.js: TypeError: Cannot read properties of undefined (reading 'pushState')
@@ -61,7 +63,9 @@ info(browser): eval remote https://api.website.lightpanda.io/js/script.js: TypeE
6163
### Start a CDP server
6264

6365
```console
64-
$ ./lightpanda --host 127.0.0.1 --port 9222
66+
./lightpanda --host 127.0.0.1 --port 9222
67+
```
68+
```console
6569
info(websocket): starting blocking worker to listen on 127.0.0.1:9222
6670
info(server): accepting new conn...
6771
```

0 commit comments

Comments
 (0)