From 3b1d9112e0dae4d62714891791998047d5db0aef Mon Sep 17 00:00:00 2001 From: Aditya Anand Date: Wed, 3 May 2017 00:35:11 +0530 Subject: [PATCH] doc: update readFileSync in fs.md * Updated fs.md stating fs.readFileAsync is platform specific * Fix formatting of `note`s PR-URL: https://github.com/nodejs/node/pull/12800 Refs: https://github.com/nodejs/node/issues/10962 Reviewed-By: Refael Ackermann Reviewed-By: James M Snell Reviewed-By: Colin Ihrig --- doc/api/fs.md | 56 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 42 insertions(+), 14 deletions(-) diff --git a/doc/api/fs.md b/doc/api/fs.md index dcaeef23abbb99..dac10a018188fe 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -479,8 +479,8 @@ fs.appendFile('message.txt', 'data to append', 'utf8', callback); Any specified file descriptor has to have been opened for appending. -_Note: If a file descriptor is specified as the `file`, it will not be closed -automatically._ +*Note*: If a file descriptor is specified as the `file`, it will not be closed +automatically. ## fs.appendFileSync(file, data[, options])