summaryrefslogtreecommitdiff
path: root/doc/api/synopsis.md
diff options
context:
space:
mode:
authorСковорода Никита Андреевич <chalkerx@gmail.com>2016-07-09 08:13:09 +0300
committerСковорода Никита Андреевич <chalkerx@gmail.com>2016-07-14 12:26:50 +0300
commita58b48bc3bcf43f7090d4cc914606af68fe55815 (patch)
tree0fdf8a6a67489aa0474a6be3420dfb5cde3d61f9 /doc/api/synopsis.md
parente09c62ae3307c434dd237a3bb47805207b36a0d1 (diff)
downloadandroid-node-v8-a58b48bc3bcf43f7090d4cc914606af68fe55815.tar.gz
android-node-v8-a58b48bc3bcf43f7090d4cc914606af68fe55815.tar.bz2
android-node-v8-a58b48bc3bcf43f7090d4cc914606af68fe55815.zip
doc: various documentation formatting fixes
* Fix markdown code sample in releases.md, it was <a id="x.y.x></a>" * Fix some markdown errors, e.g. in changelogs * Fix broken defs links, e.g. in domain-postmortem.md * Fix other broken refs, by addaleax * Add links to some defs that were present but not linked to * Remove dead defs * Move defs to the bottom (one file affected) * Add language indicators to all code blocks, using `txt` when no specific language could be chosen * Some minor formatting changes (spaces, ident, headings) PR-URL: https://github.com/nodejs/node/pull/7637 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Roman Reiss <me@silverwind.io>
Diffstat (limited to 'doc/api/synopsis.md')
-rw-r--r--doc/api/synopsis.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/synopsis.md b/doc/api/synopsis.md
index 35e8593d35..5e4e22a38b 100644
--- a/doc/api/synopsis.md
+++ b/doc/api/synopsis.md
@@ -32,7 +32,7 @@ server.listen(port, hostname, () => {
To run the server, put the code into a file called `example.js` and execute
it with Node.js:
-```
+```txt
$ node example.js
Server running at http://127.0.0.1:3000/
```