From 5e6817261c559390f8a6736fb33e7715f6dfbd16 Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Tue, 10 Apr 2018 13:09:47 +0300 Subject: [PATCH] doc: prevent a false-positive linkification PR-URL: https://github.com/nodejs/node/pull/19913 Reviewed-By: Colin Ihrig Reviewed-By: Ruben Bridgewater Reviewed-By: Luigi Pinca --- doc/api/zlib.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/api/zlib.md b/doc/api/zlib.md index 0a554b40afeb5d..f9967773e94fea 100644 --- a/doc/api/zlib.md +++ b/doc/api/zlib.md @@ -281,7 +281,7 @@ Compression strategy. * `zlib.constants.Z_FIXED` * `zlib.constants.Z_DEFAULT_STRATEGY` -## Class Options +## Class: Options -Creates and returns a new [Deflate][] object with the given [options][]. +Creates and returns a new [Deflate][] object with the given [`options`][]. ## zlib.createDeflateRaw([options]) -Creates and returns a new [DeflateRaw][] object with the given [options][]. +Creates and returns a new [DeflateRaw][] object with the given [`options`][]. An upgrade of zlib from 1.2.8 to 1.2.11 changed behavior when windowBits is set to 8 for raw deflate streams. zlib would automatically set windowBits @@ -494,35 +494,35 @@ that effectively uses an 8-bit window only. added: v0.5.8 --> -Creates and returns a new [Gunzip][] object with the given [options][]. +Creates and returns a new [Gunzip][] object with the given [`options`][]. ## zlib.createGzip([options]) -Creates and returns a new [Gzip][] object with the given [options][]. +Creates and returns a new [Gzip][] object with the given [`options`][]. ## zlib.createInflate([options]) -Creates and returns a new [Inflate][] object with the given [options][]. +Creates and returns a new [Inflate][] object with the given [`options`][]. ## zlib.createInflateRaw([options]) -Creates and returns a new [InflateRaw][] object with the given [options][]. +Creates and returns a new [InflateRaw][] object with the given [`options`][]. ## zlib.createUnzip([options]) -Creates and returns a new [Unzip][] object with the given [options][]. +Creates and returns a new [Unzip][] object with the given [`options`][]. ## Convenience Methods @@ -771,6 +771,7 @@ Decompress a chunk of data with [Unzip][]. [`Content-Encoding`]: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11 [`DataView`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView [`TypedArray`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray +[`options`]: #zlib_class_options [DeflateRaw]: #zlib_class_zlib_deflateraw [Deflate]: #zlib_class_zlib_deflate [Gunzip]: #zlib_class_zlib_gunzip @@ -778,7 +779,6 @@ Decompress a chunk of data with [Unzip][]. [InflateRaw]: #zlib_class_zlib_inflateraw [Inflate]: #zlib_class_zlib_inflate [Memory Usage Tuning]: #zlib_memory_usage_tuning -[options]: #zlib_class_options [Unzip]: #zlib_class_zlib_unzip [`UV_THREADPOOL_SIZE`]: cli.html#cli_uv_threadpool_size_size [`zlib.bytesWritten`]: #zlib_zlib_byteswritten