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-25 03:07:25 +0300
committerRich Trott <rtrott@gmail.com>2019-12-27 08:39:35 +0300
commitb46efa96cd8ab6ff44a4ffa0bb4f87010aa55d76 (patch)
tree31fb376d80002351876cc25ed9b6ed9458d89ead /doc/api/wasi.md
parent257a5dd46d1c11787264e8d2c419d6ad5c056b55 (diff)
doc,wasi: use code markup/markdown in headers
PR-URL: https://github.com/nodejs/node/pull/31086 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc/api/wasi.md')
-rw-r--r--doc/api/wasi.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/wasi.md b/doc/api/wasi.md
index 078aeb8107e..3a72442d77f 100644
--- a/doc/api/wasi.md
+++ b/doc/api/wasi.md
@@ -32,7 +32,7 @@ const importObject = { wasi_snapshot_preview1: wasi.wasiImport };
The `--experimental-wasi-unstable-preview1` and `--experimental-wasm-bigint`
CLI arguments are needed for the previous example to run.
-## Class: WASI
+## Class: `WASI`
<!-- YAML
added: v13.3.0
-->
@@ -43,7 +43,7 @@ represents a distinct sandbox environment. For security purposes, each `WASI`
instance must have its command line arguments, environment variables, and
sandbox directory structure configured explicitly.
-### new WASI(\[options\])
+### `new WASI([options])`
<!-- YAML
added: v13.3.0
-->
@@ -59,7 +59,7 @@ added: v13.3.0
directories within the sandbox. The corresponding values in `preopens` are
the real paths to those directories on the host machine.
-### wasi.start(instance)
+### `wasi.start(instance)`
<!-- YAML
added: v13.3.0
-->
@@ -74,7 +74,7 @@ is present on `instance`, then `start()` does nothing.
`start()` requires that `instance` exports a [`WebAssembly.Memory`][] named
`memory`. If `instance` does not have a `memory` export an exception is thrown.
-### wasi.wasiImport
+### `wasi.wasiImport`
<!-- YAML
added: v13.3.0
-->