From: Jackson Tian Date: Mon, 25 Jan 2016 14:28:43 +0000 (+0800) Subject: doc: fix code type of markdowns X-Git-Tag: v4.4.0~62 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=51324a753714211189f45bfbf8908c238709e8b0;p=platform%2Fupstream%2Fnodejs.git doc: fix code type of markdowns 1. correct code type in addons.markdown 2. add missed code type in crypto.markdown PR-URL: https://github.com/nodejs/node/pull/4858 Reviewed-By: Roman Reiss Reviewed-By: Colin Ihrig Reviewed-By: Roman Klauke --- diff --git a/doc/api/addons.markdown b/doc/api/addons.markdown index f0ec1c3..c9aea39 100644 --- a/doc/api/addons.markdown +++ b/doc/api/addons.markdown @@ -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'); diff --git a/doc/api/crypto.markdown b/doc/api/crypto.markdown index f37fcfa..0b97e0b 100644 --- a/doc/api/crypto.markdown +++ b/doc/api/crypto.markdown @@ -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');