mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-04-25 10:32:14 +00:00
docs: enable missing syntax highlighting (#178)
Enable missing syntax highlighting for example code in `discovery-mechanisms/README.md`.
This commit is contained in:
parent
bcca813171
commit
bca86873cc
@ -46,7 +46,7 @@ const bootstrapers = [
|
||||
|
||||
Now, once we create and start the node, we can listen for events such as `peer:discovery` and `peer:connect`, these events tell us when we found a peer, independently of the discovery mechanism used and when we actually dialed to that peer.
|
||||
|
||||
```
|
||||
```JavaScript
|
||||
let node
|
||||
|
||||
waterfall([
|
||||
|
Loading…
x
Reference in New Issue
Block a user