From 15599cbc977af3bc2a94365adc6687ca5e2bde04 Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Mon, 3 Jul 2017 03:05:59 +0300 Subject: tools: update: eslint-plugin-markdown@1.0.0-beta.7 * Remove pinning of eslint-plugin-markdown An issue affecting Node.js source has been fixed in eslint-plugin-markdown so we don't need to pin it to beta-4 anymore. Refs: https://github.com/eslint/eslint-plugin-markdown/issues/69 * Update eslint-plugin-markdown up to 1.0.0-beta.7 * Fix docs for eslint-plugin-markdown@1.0.0-beta.7 PR-URL: https://github.com/nodejs/node/pull/14047 Reviewed-By: Rich Trott Reviewed-By: Yuta Hiroto Reviewed-By: Refael Ackermann Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig --- doc/api/dns.md | 12 ++++++------ doc/api/http.md | 2 +- doc/api/os.md | 2 +- doc/api/process.md | 10 +++++----- doc/api/querystring.md | 2 +- doc/api/repl.md | 14 +++++++------- doc/api/v8.md | 2 +- 7 files changed, 22 insertions(+), 22 deletions(-) (limited to 'doc/api') diff --git a/doc/api/dns.md b/doc/api/dns.md index 3813712305..b4d078bbb8 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -65,7 +65,7 @@ section if a custom port is used. For example: - + ```js [ '4.4.4.4', @@ -314,7 +314,7 @@ function will contain an array of objects with the following properties: For example: - + ```js { flags: 's', @@ -374,7 +374,7 @@ be an object with the following properties: * `expire` * `minttl` - + ```js { nsname: 'ns.example.com', @@ -405,7 +405,7 @@ be an array of objects with the following properties: * `port` * `name` - + ```js { priority: 10, @@ -459,12 +459,12 @@ will be present on the object: Here is a example of the `ret` object passed to the callback: - + ```js [ { type: 'A', address: '127.0.0.1', ttl: 299 }, { type: 'CNAME', value: 'example.com' }, { type: 'MX', exchange: 'alt4.aspmx.l.example.com', priority: 50 }, - { type: 'NS', value: 'ns1.example.com', type: 'NS' }, + { type: 'NS', value: 'ns1.example.com' }, { type: 'TXT', entries: [ 'v=spf1 include:_spf.example.com ~all' ] }, { type: 'SOA', nsname: 'ns1.example.com', diff --git a/doc/api/http.md b/doc/api/http.md index 6b152c522e..a9e9cd3876 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -12,7 +12,7 @@ user is able to stream data. HTTP message headers are represented by an object like this: - + ```js { 'content-length': '123', 'content-type': 'text/plain', diff --git a/doc/api/os.md b/doc/api/os.md index 6afa69d39e..3b4b9526cb 100644 --- a/doc/api/os.md +++ b/doc/api/os.md @@ -254,7 +254,7 @@ The properties available on the assigned network address object include: * `scopeid` {number} The numeric IPv6 scope ID (only specified when `family` is `IPv6`) - + ```js { lo: [ diff --git a/doc/api/process.md b/doc/api/process.md index 9a8323de17..82d8541099 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -528,7 +528,7 @@ running the `./configure` script. An example of the possible output looks like: - + ```js { target_defaults: @@ -792,7 +792,7 @@ See environ(7). An example of this object looks like: - + ```js { TERM: 'xterm-256color', @@ -1224,7 +1224,7 @@ console.log(process.memoryUsage()); Will generate: - + ```js { rss: 4935680, @@ -1396,7 +1396,7 @@ tarball. For example: - + ```js { name: 'node', @@ -1758,7 +1758,7 @@ console.log(process.versions); Will generate an object similar to: - + ```js { http_parser: '2.3.0', diff --git a/doc/api/querystring.md b/doc/api/querystring.md index 9216414f8a..c6b89235c1 100644 --- a/doc/api/querystring.md +++ b/doc/api/querystring.md @@ -59,7 +59,7 @@ collection of key and value pairs. For example, the query string `'foo=bar&abc=xyz&abc=123'` is parsed into: - + ```js { foo: 'bar', diff --git a/doc/api/repl.md b/doc/api/repl.md index 9d6bdfb112..d18b34a5ea 100644 --- a/doc/api/repl.md +++ b/doc/api/repl.md @@ -40,7 +40,7 @@ The following special commands are supported by all REPL instances: `> .load ./file/to/load.js` * `.editor` - Enter editor mode (`-D` to finish, `-C` to cancel) - + ```js > .editor // Entering editor mode (^D to finish, ^C to cancel) @@ -76,7 +76,7 @@ evaluation function when the `repl.REPLServer` instance is created. The default evaluator supports direct evaluation of JavaScript expressions: - + ```js > 1 + 1 2 @@ -105,7 +105,7 @@ repl.start('> ').context.m = msg; Properties in the `context` object appear as local within the REPL: - + ```js $ node repl_test.js > m @@ -135,7 +135,7 @@ REPL environment when used. For instance, unless otherwise declared as a global or scoped variable, the input `fs` will be evaluated on-demand as `global.fs = require('fs')`. - + ```js > fs.createReadStream('./some/file'); ``` @@ -146,7 +146,7 @@ The default evaluator will, by default, assign the result of the most recently evaluated expression to the special variable `_` (underscore). Explicitly setting `_` to a value will disable this behavior. - + ```js > [ 'a', 'b', 'c' ] [ 'a', 'b', 'c' ] @@ -293,7 +293,7 @@ r.on('reset', initializeContext); When this code is executed, the global `'m'` variable can be modified but then reset to its initial value using the `.clear` command: - + ```js $ ./node example.js > m @@ -443,7 +443,7 @@ Node.js itself uses the `repl` module to provide its own interactive interface for executing JavaScript. This can be used by executing the Node.js binary without passing any arguments (or by passing the `-i` argument): - + ```js $ node > const a = [1, 2, 3]; diff --git a/doc/api/v8.md b/doc/api/v8.md index 32b0fe71ee..e9ee98a484 100644 --- a/doc/api/v8.md +++ b/doc/api/v8.md @@ -116,7 +116,7 @@ swapped out by the operating system. For example: - + ```js { total_heap_size: 7326976, -- cgit v1.2.3