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 Myles Borins committed Mar 2, 2016
1 parent 70e5d89 commit 51324a7
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 @@ -366,7 +366,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 51324a7

Please sign in to comment.