From 5f2b8a31b4994ef6a5a8628d6d63873c198e6e65 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 0efe9ed23b7ea0..a6f5f928228349 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -591,8 +591,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])