diff --git a/doc/19-library-reference.md b/doc/19-library-reference.md
index 503de7b98..8fffb8288 100644
--- a/doc/19-library-reference.md
+++ b/doc/19-library-reference.md
@@ -530,7 +530,7 @@ Returns a copy of the object. Note that for object elements which are
reference values (e.g. objects such as arrays or dictionaries) the entire
object is recursively copied.
-## Object#to_string
+### Object#to_string
Signature:
@@ -544,7 +544,7 @@ Example:
[ 3, true ].to_string() /* Returns "[ 3.000000, true ]" */
-## Object#type
+### Object#type
Signature: