Skip to content

Commit

Permalink
doc: fix code type of markdowns
Browse files Browse the repository at this point in the history
1. correct code type in addons.markdown
2. add missed code type in crypto.markdown

PR-URL: #4858
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
  • Loading branch information
JacksonTian authored and rvagg committed Jan 26, 2016
1 parent c8b6de2 commit f4eeba8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/api/addons.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ adding the function as a property of `exports`.
To test it, run the following JavaScript:
```cpp
```js
// test.js
const addon = require('./build/Release/addon');
Expand Down
2 changes: 1 addition & 1 deletion doc/api/crypto.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ decipher.end();

Example: Using `Decipher` and piped streams:

```
```js
const crypto = require('crypto');
const fs = require('fs');
const decipher = crypto.createDecipher('aes192', 'a password');
Expand Down

0 comments on commit f4eeba8

Please sign in to comment.