Skip to content

Commit f4eeba8

Browse files
JacksonTianrvagg
authored andcommitted
doc: fix code type of markdowns
1. correct code type in addons.markdown 2. add missed code type in crypto.markdown PR-URL: #4858 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Roman Klauke <[email protected]>
1 parent c8b6de2 commit f4eeba8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/api/addons.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ adding the function as a property of `exports`.
364364
365365
To test it, run the following JavaScript:
366366
367-
```cpp
367+
```js
368368
// test.js
369369
const addon = require('./build/Release/addon');
370370

doc/api/crypto.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ decipher.end();
235235

236236
Example: Using `Decipher` and piped streams:
237237

238-
```
238+
```js
239239
const crypto = require('crypto');
240240
const fs = require('fs');
241241
const decipher = crypto.createDecipher('aes192', 'a password');

0 commit comments

Comments
 (0)