Browse Source

More tweaking of markdown

David N. Welton 11 years ago
parent
commit
5d5ff49a73
1 changed files with 7 additions and 4 deletions
  1. 7 4
      README.md

+ 7 - 4
README.md

@@ -59,9 +59,12 @@ provide a common fork for community development.
     + {ssl_opts, List}       see ssl application docs in OTP
     + {ssl_opts, List}       see ssl application docs in OTP
     + {timeout,  Integer}    milliseconds, defaults to 5000
     + {timeout,  Integer}    milliseconds, defaults to 5000
     + {async,    Pid}        see Server Notifications section
     + {async,    Pid}        see Server Notifications section
-
-         {ok, C} = pgsql:connect("localhost", "username", [{database, "test_db"}]).
-         ok = pgsql:close(C).
+  
+  
+  Example:
+  
+      {ok, C} = pgsql:connect("localhost", "username", [{database, "test_db"}]).
+      ok = pgsql:close(C).
 
 
   The timeout parameter will trigger an {error, timeout} result when the
   The timeout parameter will trigger an {error, timeout} result when the
   socket fails to connect within Timeout milliseconds.
   socket fails to connect within Timeout milliseconds.
@@ -109,7 +112,7 @@ provide a common fork for community development.
 
 
   Result has same format as return value of pgsql:squery.
   Result has same format as return value of pgsql:squery.
 
 
-  ipgsql:squery returns results incrementally for each query inside Sql and
+  `ipgsql:squery` returns results incrementally for each query inside Sql and
   for each row:
   for each row:
 
 
         Ref = ipgsql:squery(C, Sql),
         Ref = ipgsql:squery(C, Sql),