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

     1  -- input --
     2  Text.
     3  	A tab-indented
     4  	(no, not eight-space indented)
     5  	code block and haiku.
     6  More text.
     7   One space
     8    is
     9     enough
    10      to
    11       start
    12        a
    13         block.
    14  More text.
    15  
    16        Blocks
    17      can
    18  
    19    have
    20      blank
    21        lines.
    22  -- gofmt --
    23  Text.
    24  
    25  	A tab-indented
    26  	(no, not eight-space indented)
    27  	code block and haiku.
    28  
    29  More text.
    30  
    31  	One space
    32  	 is
    33  	  enough
    34  	   to
    35  	    start
    36  	     a
    37  	      block.
    38  
    39  More text.
    40  
    41  	    Blocks
    42  	  can
    43  
    44  	have
    45  	  blank
    46  	    lines.
    47  -- markdown --
    48  Text.
    49  
    50  	A tab-indented
    51  	(no, not eight-space indented)
    52  	code block and haiku.
    53  
    54  More text.
    55  
    56  	One space
    57  	 is
    58  	  enough
    59  	   to
    60  	    start
    61  	     a
    62  	      block.
    63  
    64  More text.
    65  
    66  	    Blocks
    67  	  can
    68  
    69  	have
    70  	  blank
    71  	    lines.
    72  -- html --
    73  <p>Text.
    74  <pre>A tab-indented
    75  (no, not eight-space indented)
    76  code block and haiku.
    77  </pre>
    78  <p>More text.
    79  <pre>One space
    80   is
    81    enough
    82     to
    83      start
    84       a
    85        block.
    86  </pre>
    87  <p>More text.
    88  <pre>    Blocks
    89    can
    90  
    91  have
    92    blank
    93      lines.
    94  </pre>
    95  

View as plain text