From: Cheng Zhao Date: Thu, 8 Oct 2015 03:14:04 +0000 (+0800) Subject: docs: Fix wrong level for API titles X-Git-Tag: v0.33.7~14 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=d9cf9a7cbca32de59dbd6237d63b9aa20a203abd;p=electron.git docs: Fix wrong level for API titles --- diff --git a/docs/api/protocol.md b/docs/api/protocol.md index 795e4340..45d4e514 100644 --- a/docs/api/protocol.md +++ b/docs/api/protocol.md @@ -140,7 +140,7 @@ which sends a file as a response. Intercepts `scheme` protocol and uses `handler` as the protocol's new handler which sends a `String` as a response. -## `protocol.interceptBufferProtocol(scheme, handler[, completion])` +### `protocol.interceptBufferProtocol(scheme, handler[, completion])` * `scheme` String * `handler` Function @@ -149,7 +149,7 @@ which sends a `String` as a response. Intercepts `scheme` protocol and uses `handler` as the protocol's new handler which sends a `Buffer` as a response. -## `protocol.interceptHttpProtocol(scheme, handler[, completion])` +### `protocol.interceptHttpProtocol(scheme, handler[, completion])` * `scheme` String * `handler` Function @@ -158,7 +158,7 @@ which sends a `Buffer` as a response. Intercepts `scheme` protocol and uses `handler` as the protocol's new handler which sends a new HTTP request as a response. -## `protocol.uninterceptProtocol(scheme[, completion])` +### `protocol.uninterceptProtocol(scheme[, completion])` * `scheme` String * `completion` Function