...

Text file src/go/doc/comment/testdata/list6.txt

Documentation: go/doc/comment/testdata

     1-- input --
     2Text.
     3 - List immediately after.
     4 - Another.
     5
     6More text.
     7
     8 - List after blank line.
     9 - Another.
    10
    11Even more text.
    12 - List immediately after.
    13
    14 - Blank line between items.
    15
    16Yet more text.
    17
    18 - Another list after blank line.
    19
    20 - Blank line between items.
    21
    22Still more text.
    23 - One list item.
    24
    25   Multiple paragraphs.
    26-- dump --
    27Doc
    28	Paragraph
    29		Plain "Text."
    30	List ForceBlankBefore=false ForceBlankBetween=false
    31		Item Number=""
    32			Paragraph
    33				Plain "List immediately after."
    34		Item Number=""
    35			Paragraph
    36				Plain "Another."
    37	Paragraph
    38		Plain "More text."
    39	List ForceBlankBefore=true ForceBlankBetween=false
    40		Item Number=""
    41			Paragraph
    42				Plain "List after blank line."
    43		Item Number=""
    44			Paragraph
    45				Plain "Another."
    46	Paragraph
    47		Plain "Even more text."
    48	List ForceBlankBefore=false ForceBlankBetween=true
    49		Item Number=""
    50			Paragraph
    51				Plain "List immediately after."
    52		Item Number=""
    53			Paragraph
    54				Plain "Blank line between items."
    55	Paragraph
    56		Plain "Yet more text."
    57	List ForceBlankBefore=true ForceBlankBetween=true
    58		Item Number=""
    59			Paragraph
    60				Plain "Another list after blank line."
    61		Item Number=""
    62			Paragraph
    63				Plain "Blank line between items."
    64	Paragraph
    65		Plain "Still more text."
    66	List ForceBlankBefore=false ForceBlankBetween=true
    67		Item Number=""
    68			Paragraph
    69				Plain "One list item."
    70			Paragraph
    71				Plain "Multiple paragraphs."
    72
    73-- gofmt --
    74Text.
    75  - List immediately after.
    76  - Another.
    77
    78More text.
    79
    80  - List after blank line.
    81  - Another.
    82
    83Even more text.
    84
    85  - List immediately after.
    86
    87  - Blank line between items.
    88
    89Yet more text.
    90
    91  - Another list after blank line.
    92
    93  - Blank line between items.
    94
    95Still more text.
    96
    97  - One list item.
    98
    99    Multiple paragraphs.
   100
   101-- markdown --
   102Text.
   103
   104  - List immediately after.
   105  - Another.
   106
   107More text.
   108
   109  - List after blank line.
   110  - Another.
   111
   112Even more text.
   113
   114  - List immediately after.
   115
   116  - Blank line between items.
   117
   118Yet more text.
   119
   120  - Another list after blank line.
   121
   122  - Blank line between items.
   123
   124Still more text.
   125
   126  - One list item.
   127
   128    Multiple paragraphs.
   129

View as plain text