From 67469b86c0f50554e1faad7cefe5c4b4b1386ccf Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Fri, 5 Feb 2016 23:58:35 -0800 Subject: [PATCH] doc: fix dgram doc indentation --- doc/api/dgram.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/api/dgram.markdown b/doc/api/dgram.markdown index 8408321c384e07..0bc16f873ad99c 100644 --- a/doc/api/dgram.markdown +++ b/doc/api/dgram.markdown @@ -373,6 +373,7 @@ s.bind(1234, () => { ## `dgram` module functions ### dgram.createSocket(options[, callback]) + * `options` Object * `callback` Function. Attached as a listener to `'message'` events. * Returns: Socket object @@ -393,7 +394,7 @@ interfaces" address on a random port (it does the right thing for both `udp4` and `udp6` sockets). The bound address and port can be retrieved using [`socket.address().address`][] and [`socket.address().port`][]. -## dgram.createSocket(type[, callback]) +### dgram.createSocket(type[, callback]) * `type` String. Either 'udp4' or 'udp6' * `callback` Function. Attached as a listener to `'message'` events.