...

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

Documentation: go/doc/comment/testdata

     1{"TextPrefix":"|", "TextCodePrefix": "@"}
     2-- input --
     3Hello, world
     4 Code block here.
     5More text.
     6Tight list
     7 - one
     8 - two
     9 - three
    10Loose list
    11 - one
    12
    13 - two
    14
    15 - three
    16
    17# Heading
    18
    19More text.
    20-- gofmt --
    21Hello, world
    22
    23	Code block here.
    24
    25More text.
    26Tight list
    27  - one
    28  - two
    29  - three
    30
    31Loose list
    32
    33  - one
    34
    35  - two
    36
    37  - three
    38
    39# Heading
    40
    41More text.
    42-- text --
    43|Hello, world
    44|
    45@Code block here.
    46|
    47|More text. Tight list
    48|  - one
    49|  - two
    50|  - three
    51|
    52|Loose list
    53|
    54|  - one
    55|
    56|  - two
    57|
    58|  - three
    59|
    60|# Heading
    61|
    62|More text.

View as plain text