diff options
author | Denis McDonald <denis.l.mcdonald@gmail.com> | 2018-10-30 10:49:18 +0300 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2018-11-29 19:39:18 +0300 |
commit | f54f640704fbe812ce5c7df6458921e1846d57c6 (patch) | |
tree | 20c3bb235a28f4d9239a69cc7fbf082d71dbc3d0 /doc | |
parent | 2fb89d0b867864bdb3c17606c1fbd2a5e51fc3bf (diff) |
doc: fix typographical issues
PR-URL: https://github.com/nodejs/node/pull/23970
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/synopsis.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/synopsis.md b/doc/api/synopsis.md index d22d684bfb0..efbbf54a1a7 100644 --- a/doc/api/synopsis.md +++ b/doc/api/synopsis.md @@ -14,7 +14,7 @@ An example of a [web server][] written with Node.js which responds with Commands displayed in this document are shown starting with `$` or `>` to replicate how they would appear in a user's terminal. -Do not include the `$` and `>` character they are there to +Do not include the `$` and `>` characters. They are there to indicate the start of each command. There are many tutorials and examples that follow this @@ -27,8 +27,8 @@ the output of the previous command. Firstly, make sure to have downloaded and installed Node.js. See [this guide][] for further install information. -Now, create an empty project folder called `projects`, navigate into it: -Project folder can be named base on user's current project title but +Now, create an empty project folder called `projects`, then navigate into it. +The project folder can be named based on the user's current project title, but this example will use `projects` as the project folder. Linux and Mac: @@ -60,7 +60,7 @@ hyphens (`-`) or underscores (`_`) to separate multiple words in filenames. Open `hello-world.js` in any preferred text editor and -paste in the following content. +paste in the following content: ```js const http = require('http'); |