]> khamidou — GitHub mirrors - electron.git/commitdiff
docs: Fix wrong level for API titles
authorCheng Zhao <zcbenz@gmail.com>
Thu, 8 Oct 2015 03:14:04 +0000 (11:14 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 8 Oct 2015 03:14:04 +0000 (11:14 +0800)
docs/api/protocol.md

index 795e4340c7eef54f8e9f33bd9a7541f54f5a8097..45d4e5146b1fd8ef6fbacf365acef795805a76ea 100644 (file)
@@ -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