Skip to content

Commit 167b726

Browse files
committed
Merge pull request #19 from noffle/readme-formatting
fixes README formatting
2 parents 524fc37 + 771b994 commit 167b726

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -132,23 +132,24 @@ Returns an object with the ID's properties in hex format:
132132

133133
Returns the Peer ID's `id` as a hex string.
134134

135-
```js
136-
1220d6243998f2fc56343ad7ed0342ab7886a4eb18d736f1b67d44b37fcc81e0f39f```
135+
```
136+
1220d6243998f2fc56343ad7ed0342ab7886a4eb18d736f1b67d44b37fcc81e0f39f
137+
```
137138

138139
### id.toBytes()
139140

140141
Returns the Peer ID's `id` as a buffer.
141142

142143

143-
```js
144+
```
144145
<Buffer 12 20 d6 24 39 98 f2 fc 56 34 3a d7 ed 03 42 ab 78 86 a4 eb 18 d7 36 f1 b6 7d 44 b3 7f cc 81 e0 f3 9f>
145146
```
146147

147148
### id.toB58String()
148149

149150
Returns the Peer ID's `id` as a base58 string.
150151

151-
```js
152+
```
152153
QmckZzdVd72h9QUFuJJpQqhsZqGLwjhh81qSvZ9BhB2FQi
153154
```
154155

0 commit comments

Comments
 (0)