...

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

Documentation: go/doc/comment/testdata

     1-- input --
     2Text.
     3	A tab-indented
     4	(no, not eight-space indented)
     5	code block and haiku.
     6More text.
     7 One space
     8  is
     9   enough
    10    to
    11     start
    12      a
    13       block.
    14More text.
    15
    16      Blocks
    17    can
    18
    19  have
    20    blank
    21      lines.
    22-- gofmt --
    23Text.
    24
    25	A tab-indented
    26	(no, not eight-space indented)
    27	code block and haiku.
    28
    29More text.
    30
    31	One space
    32	 is
    33	  enough
    34	   to
    35	    start
    36	     a
    37	      block.
    38
    39More text.
    40
    41	    Blocks
    42	  can
    43
    44	have
    45	  blank
    46	    lines.
    47-- markdown --
    48Text.
    49
    50	A tab-indented
    51	(no, not eight-space indented)
    52	code block and haiku.
    53
    54More text.
    55
    56	One space
    57	 is
    58	  enough
    59	   to
    60	    start
    61	     a
    62	      block.
    63
    64More 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)
    76code 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
    91have
    92  blank
    93    lines.
    94</pre>

View as plain text