Skip to content

Commit

Permalink
doc: use code markup/markdown in headers in globals documentation
Browse files Browse the repository at this point in the history
PR-URL: #31086
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
Trott authored and BridgeAR committed Jan 3, 2020
1 parent e7f7e45 commit dcce8b6
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions doc/api/globals.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
-->
Expand All @@ -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
-->
Expand All @@ -45,7 +45,7 @@ added: v0.9.1

[`clearImmediate`][] is described in the [timers][] section.

## clearInterval(intervalObject)
## `clearInterval(intervalObject)`
<!-- YAML
added: v0.0.1
-->
Expand All @@ -54,7 +54,7 @@ added: v0.0.1

[`clearInterval`][] is described in the [timers][] section.

## clearTimeout(timeoutObject)
## `clearTimeout(timeoutObject)`
<!-- YAML
added: v0.0.1
-->
Expand All @@ -63,7 +63,7 @@ added: v0.0.1

[`clearTimeout`][] is described in the [timers][] section.

## console
## `console`
<!-- YAML
added: v0.1.100
-->
Expand All @@ -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
-->
Expand All @@ -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
-->
Expand All @@ -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
-->
Expand Down Expand Up @@ -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
-->
Expand All @@ -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
-->
Expand All @@ -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
-->
Expand All @@ -177,7 +177,7 @@ added: v0.0.1

[`setTimeout`][] is described in the [timers][] section.

## TextDecoder
## `TextDecoder`
<!-- YAML
added: v11.0.0
-->
Expand All @@ -186,7 +186,7 @@ added: v11.0.0

The WHATWG `TextDecoder` class. See the [`TextDecoder`][] section.

## TextEncoder
## `TextEncoder`
<!-- YAML
added: v11.0.0
-->
Expand All @@ -195,7 +195,7 @@ added: v11.0.0

The WHATWG `TextEncoder` class. See the [`TextEncoder`][] section.

## URL
## `URL`
<!-- YAML
added: v10.0.0
-->
Expand All @@ -204,7 +204,7 @@ added: v10.0.0

The WHATWG `URL` class. See the [`URL`][] section.

## URLSearchParams
## `URLSearchParams`
<!-- YAML
added: v10.0.0
-->
Expand All @@ -213,7 +213,7 @@ added: v10.0.0

The WHATWG `URLSearchParams` class. See the [`URLSearchParams`][] section.

## WebAssembly
## `WebAssembly`
<!-- YAML
added: v8.0.0
-->
Expand Down

0 comments on commit dcce8b6

Please sign in to comment.