summaryrefslogtreecommitdiff
path: root/doc/api/synopsis.md
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2021-10-10 21:55:04 -0700
committerAntoine du Hamel <duhamelantoine1995@gmail.com>2021-10-20 11:59:11 +0200
commitd0b58c0287e67a139137aa906819d95f8314b093 (patch)
treee9a92870138d89b608b1c6e6568611744c32c4f2 /doc/api/synopsis.md
parenta7c17e08de658cbc0beefd8e9583803b5a62ac7e (diff)
downloadnode-new-d0b58c0287e67a139137aa906819d95f8314b093.tar.gz
doc: format doc/api/*.md with markdown formatter
PR-URL: https://github.com/nodejs/node/pull/40403 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Diffstat (limited to 'doc/api/synopsis.md')
-rw-r--r--doc/api/synopsis.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/synopsis.md b/doc/api/synopsis.md
index 5bfdebc32c..cbc1888e20 100644
--- a/doc/api/synopsis.md
+++ b/doc/api/synopsis.md
@@ -11,6 +11,7 @@
Please see the [Command-line options][] document for more information.
## Example
+
An example of a [web server][] written with Node.js which responds with
`'Hello, World!'`:
@@ -48,7 +49,7 @@ Windows PowerShell:
```
Next, create a new source file in the `projects`
- folder and call it `hello-world.js`.
+folder and call it `hello-world.js`.
Open `hello-world.js` in any preferred text editor and
paste in the following content: