doc: *.md formatting fixes in the top-level dir · nodejs/node@4aa8120
@@ -28,7 +28,7 @@ On FreeBSD and OpenBSD, you may also need:
2828* libexecinfo (FreeBSD and OpenBSD only)
2929303031-```text
31+```console
3232$ ./configure
3333$ make
3434$ [sudo] make install
@@ -37,7 +37,7 @@ $ [sudo] make install
3737If your Python binary is in a non-standard location or has a
3838non-standard name, run the following instead:
393940-```text
40+```console
4141$ export PYTHON=/path/to/python
4242$ $PYTHON ./configure
4343$ make
@@ -46,13 +46,13 @@ $ [sudo] make install
46464747To run the tests:
484849-```text
49+```console
5050$ make test
5151```
52525353To run the native module tests:
545455-```text
55+```console
5656$ make test-addons
5757```
5858@@ -61,35 +61,35 @@ To run the npm test suite:
6161*note: to run the suite on node v4 or earlier you must first*
6262*run `make install`*
636364-```
64+```console
6565$ make test-npm
6666```
67676868To build the documentation:
69697070This will build Node.js first (if necessary) and then use it to build the docs:
717172-```text
72+```console
7373$ make doc
7474```
75757676If you have an existing Node.js you can build just the docs with:
777778-```text
78+```console
7979$ NODE=node make doc-only
8080```
81818282(Where `node` is the path to your executable.)
83838484To read the documentation:
858586-```text
86+```console
8787$ man doc/node.1
8888```
89899090To test if Node.js was built correctly:
919192-```
92+```console
9393$ node -e "console.log('Hello from Node.js ' + process.version)"
9494```
9595@@ -107,19 +107,19 @@ Prerequisites:
107107[Git for Windows](http://git-scm.com/download/win) includes Git Bash
108108 and tools which can be included in the global `PATH`.
109109110-```text
110+```console
111111> vcbuild nosign
112112```
113113114114To run the tests:
115115116-```text
116+```console
117117> vcbuild test
118118```
119119120120To test if Node.js was built correctly:
121121122-```text
122+```console
123123> Release\node -e "console.log('Hello from Node.js', process.version)"
124124```
125125@@ -136,7 +136,7 @@ Be sure you have downloaded and extracted [Android NDK]
136136(https://developer.android.com/tools/sdk/ndk/index.html)
137137before in a folder. Then run:
138138139-```
139+```console
140140$ ./android-configure /path/to/your/android-ndk
141141$ make
142142```
@@ -165,13 +165,13 @@ Node.js source does not include all locales.)
165165166166##### Unix / OS X:
167167168-```text
168+```console
169169$ ./configure --with-intl=full-icu --download=all
170170```
171171172172##### Windows:
173173174-```text
174+```console
175175> vcbuild full-icu download-all
176176```
177177@@ -182,19 +182,19 @@ The `Intl` object will not be available, nor some other APIs such as
182182183183##### Unix / OS X:
184184185-```text
185+```console
186186$ ./configure --without-intl
187187```
188188189189##### Windows:
190190191-```text
191+```console
192192> vcbuild without-intl
193193```
194194195195#### Use existing installed ICU (Unix / OS X only):
196196197-```text
197+```console
198198$ pkg-config --modversion icu-i18n && ./configure --with-intl=system-icu
199199```
200200@@ -210,14 +210,18 @@ Download the file named something like `icu4c-**##.#**-src.tgz` (or
210210211211##### Unix / OS X
212212213-```text
214-# from an already-unpacked ICU:
213+From an already-unpacked ICU:
214+```console
215215$ ./configure --with-intl=[small-icu,full-icu] --with-icu-source=/path/to/icu
216+```
216217217-# from a local ICU tarball
218+From a local ICU tarball:
219+```console
218220$ ./configure --with-intl=[small-icu,full-icu] --with-icu-source=/path/to/icu.tgz
221+```
219222220-# from a tarball URL
223+From a tarball URL:
224+```console
221225$ ./configure --with-intl=full-icu --with-icu-source=http://url/to/icu.tgz
222226```
223227@@ -227,7 +231,7 @@ First unpack latest ICU to `deps/icu`
227231[icu4c-**##.#**-src.tgz](http://icu-project.org/download) (or `.zip`)
228232as `deps/icu` (You'll have: `deps/icu/source/...`)
229233230-```text
234+```console
231235> vcbuild full-icu
232236```
233237