web commit by JoshTriplett: Add setext headers.
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 18 Jan 2007 18:47:40 +0000 (18:47 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 18 Jan 2007 18:47:40 +0000 (18:47 +0000)
doc/helponformatting.mdwn

index 4a0fba01ec908d4e324483e46a6e541175a90080..875aed9f4394df552da1dca3c42841bbf3e6d29d 100644 (file)
@@ -32,6 +32,21 @@ size of the header:
 ##### ##### h5
 ###### ###### h6
 
+You can also make the first two levels of heading by underlining text with
+equals or dash:
+
+heading 1
+=========
+
+    heading 1
+    =========
+
+heading 2
+---------
+
+    heading 2
+    ---------
+
 To create a horizontal rule, just write three or more dashes or stars on
 their own line: