From 83a7dfbcfad842c63523caa7d88a3ae72472eab5 Mon Sep 17 00:00:00 2001 From: Jackson Tian Date: Mon, 25 Jan 2016 22:28:43 +0800 Subject: [PATCH] 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 --- doc/api/addons.markdown | 2 +- doc/api/crypto.markdown | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/addons.markdown b/doc/api/addons.markdown index 986c151097ee78..93ece69d738275 100644 --- a/doc/api/addons.markdown +++ b/doc/api/addons.markdown @@ -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'); diff --git a/doc/api/crypto.markdown b/doc/api/crypto.markdown index 1066a54b65261c..1a12d7ed1ccc52 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');