Skip to content
Permalink
Browse files

doc: use code markup/markdown in headers in globals documentation

PR-URL: #31086
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
Trott authored and BridgeAR committed Dec 24, 2019
1 parent e7f7e45 commit dcce8b68b2c2e527afb06866c00b4ea0e49549bd
Showing with 21 additions and 21 deletions.
  1. +21 −21 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
-->

0 comments on commit dcce8b6

Please sign in to comment.
You can’t perform that action at this time.