Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2019-12-24 09:03:16 +0300
committerRuben Bridgewater <ruben@bridgewater.de>2020-01-03 18:21:52 +0300
commitdcce8b68b2c2e527afb06866c00b4ea0e49549bd (patch)
tree4d1a1b665e7c1884d21d0010ea5c855a2622c012
parente7f7e45ddbf144e8463300bdd7d87e69c2b13b6d (diff)
doc: use code markup/markdown in headers in globals documentation
PR-URL: https://github.com/nodejs/node/pull/31086 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
-rw-r--r--doc/api/globals.md42
1 files changed, 21 insertions, 21 deletions
diff --git a/doc/api/globals.md b/doc/api/globals.md
index 8b112c467d0..7e6129e9038 100644
--- a/doc/api/globals.md
+++ b/doc/api/globals.md
@@ -17,7 +17,7 @@ The objects listed here are specific to Node.js. There are [built-in objects][]
that are part of the JavaScript language itself, which are also globally
accessible.
-## Class: Buffer
+## Class: `Buffer`
<!-- YAML
added: v0.1.103
-->
@@ -28,15 +28,15 @@ added: v0.1.103
Used to handle binary data. See the [buffer section][].
-## \_\_dirname
+## `__dirname`
This variable may appear to be global but is not. See [`__dirname`][].
-## \_\_filename
+## `__filename`
This variable may appear to be global but is not. See [`__filename`][].
-## clearImmediate(immediateObject)
+## `clearImmediate(immediateObject)`
<!-- YAML
added: v0.9.1
-->
@@ -45,7 +45,7 @@ added: v0.9.1
[`clearImmediate`][] is described in the [timers][] section.
-## clearInterval(intervalObject)
+## `clearInterval(intervalObject)`
<!-- YAML
added: v0.0.1
-->
@@ -54,7 +54,7 @@ added: v0.0.1
[`clearInterval`][] is described in the [timers][] section.
-## clearTimeout(timeoutObject)
+## `clearTimeout(timeoutObject)`
<!-- YAML
added: v0.0.1
-->
@@ -63,7 +63,7 @@ added: v0.0.1
[`clearTimeout`][] is described in the [timers][] section.
-## console
+## `console`
<!-- YAML
added: v0.1.100
-->
@@ -74,11 +74,11 @@ added: v0.1.100
Used to print to stdout and stderr. See the [`console`][] section.
-## exports
+## `exports`
This variable may appear to be global but is not. See [`exports`][].
-## global
+## `global`
<!-- YAML
added: v0.1.27
-->
@@ -92,11 +92,11 @@ within the browser `var something` will define a new global variable. In
Node.js this is different. The top-level scope is not the global scope;
`var something` inside a Node.js module will be local to that module.
-## module
+## `module`
This variable may appear to be global but is not. See [`module`][].
-## process
+## `process`
<!-- YAML
added: v0.1.7
-->
@@ -107,7 +107,7 @@ added: v0.1.7
The process object. See the [`process` object][] section.
-## queueMicrotask(callback)
+## `queueMicrotask(callback)`
<!-- YAML
added: v11.0.0
-->
@@ -146,11 +146,11 @@ DataHandler.prototype.load = async function load(key) {
};
```
-## require()
+## `require()`
This variable may appear to be global but is not. See [`require()`][].
-## setImmediate(callback\[, ...args\])
+## `setImmediate(callback[, ...args])`
<!-- YAML
added: v0.9.1
-->
@@ -159,7 +159,7 @@ added: v0.9.1
[`setImmediate`][] is described in the [timers][] section.
-## setInterval(callback, delay\[, ...args\])
+## `setInterval(callback, delay[, ...args])`
<!-- YAML
added: v0.0.1
-->
@@ -168,7 +168,7 @@ added: v0.0.1
[`setInterval`][] is described in the [timers][] section.
-## setTimeout(callback, delay\[, ...args\])
+## `setTimeout(callback, delay[, ...args])`
<!-- YAML
added: v0.0.1
-->
@@ -177,7 +177,7 @@ added: v0.0.1
[`setTimeout`][] is described in the [timers][] section.
-## TextDecoder
+## `TextDecoder`
<!-- YAML
added: v11.0.0
-->
@@ -186,7 +186,7 @@ added: v11.0.0
The WHATWG `TextDecoder` class. See the [`TextDecoder`][] section.
-## TextEncoder
+## `TextEncoder`
<!-- YAML
added: v11.0.0
-->
@@ -195,7 +195,7 @@ added: v11.0.0
The WHATWG `TextEncoder` class. See the [`TextEncoder`][] section.
-## URL
+## `URL`
<!-- YAML
added: v10.0.0
-->
@@ -204,7 +204,7 @@ added: v10.0.0
The WHATWG `URL` class. See the [`URL`][] section.
-## URLSearchParams
+## `URLSearchParams`
<!-- YAML
added: v10.0.0
-->
@@ -213,7 +213,7 @@ added: v10.0.0
The WHATWG `URLSearchParams` class. See the [`URLSearchParams`][] section.
-## WebAssembly
+## `WebAssembly`
<!-- YAML
added: v8.0.0
-->