Skip to content

Commit 1a7aa33

Browse files
BurdetteLamarpeterzhu2118
authored andcommitted
[DOC] Correct levels of headings
1 parent b34ac06 commit 1a7aa33

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

doc/rdoc/markup_reference.rb

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
# - The entire markup (<tt>.rdoc</tt>) file or markdown (<tt>.md</tt>) file
6060
# (which is usually multi-line).
6161
#
62-
# === Blocks
62+
# == Blocks
6363
#
6464
# It's convenient to think of an \RDoc document as a sequence of _blocks_
6565
# of various types (details at the links):
@@ -97,7 +97,7 @@
9797
# which becomes the <em>base margin</em> for the block
9898
# and is the initial <em>current margin</em> for the block.
9999
#
100-
# ==== Paragraphs
100+
# === Paragraphs
101101
#
102102
# A paragraph consists of one or more non-empty lines of ordinary text,
103103
# each beginning at the current margin.
@@ -134,7 +134,7 @@
134134
# - {Horizontal rules}[rdoc-ref:RDoc::MarkupReference@Horizontal+Rules].
135135
# - {Text Markup}[rdoc-ref:RDoc:MarkupReference@Text+Markup].
136136
#
137-
# ==== Verbatim Text Blocks
137+
# === Verbatim Text Blocks
138138
#
139139
# Text indented farther than the current margin becomes a <em>verbatim text block</em>
140140
# (or a code block, described next).
@@ -172,7 +172,7 @@
172172
# A verbatim text block may not contain nested blocks of any kind
173173
# -- it's verbatim.
174174
#
175-
# ==== Code Blocks
175+
# === Code Blocks
176176
#
177177
# A special case of verbatim text is the <em>code block</em>,
178178
# which is merely verbatim text that \RDoc recognizes as Ruby code:
@@ -208,7 +208,7 @@
208208
# A code block may not contain nested blocks of any kind
209209
# -- it's verbatim.
210210
#
211-
# ==== Block Quotes
211+
# === Block Quotes
212212
#
213213
# You can use the characters <tt>>>></tt> (unindented),
214214
# followed by indented text, to treat the text
@@ -255,7 +255,7 @@
255255
# - {Horizontal rules}[rdoc-ref:RDoc::MarkupReference@Horizontal+Rules].
256256
# - {Text Markup}[rdoc-ref:RDoc:MarkupReference@Text+Markup].
257257
#
258-
# ==== Lists
258+
# === Lists
259259
#
260260
# Each type of list item is marked by a special beginning:
261261
#
@@ -287,7 +287,7 @@
287287
# - {Horizontal rules}[rdoc-ref:RDoc::MarkupReference@Horizontal+Rules].
288288
# - {Text Markup}[rdoc-ref:RDoc:MarkupReference@Text+Markup].
289289
#
290-
# ===== Bullet Lists
290+
# ==== Bullet Lists
291291
#
292292
# A bullet list item begins with a hyphen or asterisk.
293293
#
@@ -311,7 +311,7 @@
311311
# * Yet another.
312312
# - Last one.
313313
#
314-
# ===== Numbered Lists
314+
# ==== Numbered Lists
315315
#
316316
# A numbered list item begins with digits and a period.
317317
#
@@ -337,7 +337,7 @@
337337
# 1. Yet another.
338338
# 1000. Last one.
339339
#
340-
# ===== Lettered Lists
340+
# ==== Lettered Lists
341341
#
342342
# A lettered list item begins with letters and a period.
343343
#
@@ -361,7 +361,7 @@
361361
# x. Yet another.
362362
# a. Last one.
363363
#
364-
# ===== Labeled Lists
364+
# ==== Labeled Lists
365365
#
366366
# A labeled list item begins with one of:
367367
#
@@ -388,7 +388,7 @@
388388
# [bar baz] Yet another.
389389
# bam:: Last one.
390390
#
391-
# ==== Headings
391+
# === Headings
392392
#
393393
# A heading begins with up to six equal-signs, followed by heading text.
394394
# Whitespace between those and the heading text is optional.
@@ -414,7 +414,7 @@
414414
#
415415
# - {Text Markup}[rdoc-ref:RDoc:MarkupReference@Text+Markup].
416416
#
417-
# ==== Horizontal Rules
417+
# === Horizontal Rules
418418
#
419419
# A horizontal rule consists of a line with three or more hyphens
420420
# and nothing more.
@@ -435,9 +435,9 @@
435435
# -- Also not a horizontal rule.
436436
# ---
437437
#
438-
# ==== Directives
438+
# === Directives
439439
#
440-
# ===== Directives for Allowing or Suppressing Documentation
440+
# ==== Directives for Allowing or Suppressing Documentation
441441
#
442442
# - <tt># :stopdoc:</tt>:
443443
#
@@ -526,7 +526,7 @@
526526
# /* :stopdoc: */
527527
# /* :enddoc: */
528528
#
529-
# ===== Directive for Specifying \RDoc Source Format
529+
# ==== Directive for Specifying \RDoc Source Format
530530
#
531531
# - <tt># :markup: _type_</tt>:
532532
#
@@ -535,7 +535,7 @@
535535
# parameter +type+ is one of: +rdoc+ (the default), +markdown+, +rd+, +tomdoc+.
536536
# See {Markup Formats}[rdoc-ref:RDoc::Markup@Markup+Formats].
537537
#
538-
# ===== Directives for Method Documentation
538+
# ==== Directives for Method Documentation
539539
#
540540
# - <tt># :call-seq:</tt>:
541541
#
@@ -568,7 +568,7 @@
568568
# overriding the actual yield in the code.
569569
# See method #yields_directive.
570570
#
571-
# ===== Directives for Organizing Documentation
571+
# ==== Directives for Organizing Documentation
572572
#
573573
# By default, \RDoc groups:
574574
#
@@ -621,7 +621,7 @@
621621
# in the given section, or in the default section if no title is given.
622622
# Subsequent methods are to be grouped into the current section.
623623
#
624-
# ===== Directive for Including a File
624+
# ==== Directive for Including a File
625625
#
626626
# - <tt># :include: _filepath_</tt>:
627627
#
@@ -637,7 +637,7 @@
637637
#
638638
# For C code, the directive may appear in a stand-alone comment
639639
#
640-
# ==== Text Markup
640+
# === Text Markup
641641
#
642642
# Text markup is metatext that affects HTML rendering:
643643
#
@@ -646,7 +646,7 @@
646646
# - Links.
647647
# - Escapes: marking text as "not markup."
648648
#
649-
# ===== Typeface Markup
649+
# ==== Typeface Markup
650650
#
651651
# Typeface markup can specify that text is to be rendered
652652
# as italic, bold, or monofont.
@@ -656,7 +656,7 @@
656656
# - More typeface markup:
657657
# italic, bold, monofont.
658658
#
659-
# ====== Italic
659+
# ===== Italic
660660
#
661661
# Text may be marked as italic via HTML tag <tt><i></tt> or <tt><em></tt>.
662662
#
@@ -711,7 +711,7 @@
711711
#
712712
# ====== _Italic_ in a Heading
713713
#
714-
# ====== Bold
714+
# ===== Bold
715715
#
716716
# Text may be marked as bold via HTML tag <tt><b></tt>.
717717
#
@@ -768,7 +768,7 @@
768768
#
769769
# ===== *Bold* in a Heading
770770
#
771-
# ====== Monofont
771+
# ===== Monofont
772772
#
773773
# Text may be marked as monofont
774774
# -- sometimes called 'typewriter font' --
@@ -827,7 +827,7 @@
827827
#
828828
# ====== +Monofont+ in a Heading
829829
#
830-
# ==== Character Conversions
830+
# === Character Conversions
831831
#
832832
# Certain combinations of characters may be converted to special characters;
833833
# whether the conversion occurs depends on whether the special character
@@ -847,7 +847,7 @@
847847
#
848848
# - <tt>foo --- bar</tt> converts to foo --- bar (1-character em-dash).
849849
#
850-
# ==== Links
850+
# === Links
851851
#
852852
# Certain strings in \RDoc text are converted to links.
853853
# Any such link may be suppressed by prefixing a backslash.

0 commit comments

Comments
 (0)