diff options
author | Rich Trott <rtrott@gmail.com> | 2019-12-25 00:42:28 +0300 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2020-01-03 18:21:55 +0300 |
commit | f0bc62896aaee1e65bae7523e62189d822679ce8 (patch) | |
tree | ba8a1416d8d2ceb74e9614174d81d2ee4bd312f4 | |
parent | 8c126527d92c10895baed8b33755db5d7d6fea80 (diff) |
doc,punycode: 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>
-rw-r--r-- | doc/api/punycode.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/api/punycode.md b/doc/api/punycode.md index b8a3b7d629f..4c9dc3460a0 100644 --- a/doc/api/punycode.md +++ b/doc/api/punycode.md @@ -37,7 +37,7 @@ The `punycode` module is a third-party dependency used by Node.js and made available to developers as a convenience. Fixes or other modifications to the module must be directed to the [Punycode.js][] project. -## punycode.decode(string) +## `punycode.decode(string)` <!-- YAML added: v0.5.1 --> @@ -52,7 +52,7 @@ punycode.decode('maana-pta'); // 'mañana' punycode.decode('--dqo34k'); // '☃-⌘' ``` -## punycode.encode(string) +## `punycode.encode(string)` <!-- YAML added: v0.5.1 --> @@ -67,7 +67,7 @@ punycode.encode('mañana'); // 'maana-pta' punycode.encode('☃-⌘'); // '--dqo34k' ``` -## punycode.toASCII(domain) +## `punycode.toASCII(domain)` <!-- YAML added: v0.6.1 --> @@ -86,7 +86,7 @@ punycode.toASCII('☃-⌘.com'); // 'xn----dqo34k.com' punycode.toASCII('example.com'); // 'example.com' ``` -## punycode.toUnicode(domain) +## `punycode.toUnicode(domain)` <!-- YAML added: v0.6.1 --> @@ -104,12 +104,12 @@ punycode.toUnicode('xn----dqo34k.com'); // '☃-⌘.com' punycode.toUnicode('example.com'); // 'example.com' ``` -## punycode.ucs2 +## `punycode.ucs2` <!-- YAML added: v0.7.0 --> -### punycode.ucs2.decode(string) +### `punycode.ucs2.decode(string)` <!-- YAML added: v0.7.0 --> @@ -125,7 +125,7 @@ punycode.ucs2.decode('abc'); // [0x61, 0x62, 0x63] punycode.ucs2.decode('\uD834\uDF06'); // [0x1D306] ``` -### punycode.ucs2.encode(codePoints) +### `punycode.ucs2.encode(codePoints)` <!-- YAML added: v0.7.0 --> @@ -140,7 +140,7 @@ punycode.ucs2.encode([0x61, 0x62, 0x63]); // 'abc' punycode.ucs2.encode([0x1D306]); // '\uD834\uDF06' ``` -## punycode.version +## `punycode.version` <!-- YAML added: v0.6.1 --> |