tests/test-minirst.py.out
changeset 15125 bdc595059108
parent 15039 c981f4a9ea74
child 15261 e2df5b866d22
equal deleted inserted replaced
15124:8542a9c9f679 15125:bdc595059108
     4 
     4 
     5   A small indented paragraph. It is followed by some lines
     5   A small indented paragraph. It is followed by some lines
     6   containing random whitespace.
     6   containing random whitespace.
     7 
     7 
     8 The third and final paragraph.
     8 The third and final paragraph.
       
     9 
     9 ----------------------------------------------------------------------
    10 ----------------------------------------------------------------------
    10 
    11 
    11 paragraphs formatted to fit within 30 characters:
    12 paragraphs formatted to fit within 30 characters:
    12 ----------------------------------------------------------------------
    13 ----------------------------------------------------------------------
    13 This is some text in the first
    14 This is some text in the first
    17   It is followed by some lines
    18   It is followed by some lines
    18   containing random
    19   containing random
    19   whitespace.
    20   whitespace.
    20 
    21 
    21 The third and final paragraph.
    22 The third and final paragraph.
       
    23 
    22 ----------------------------------------------------------------------
    24 ----------------------------------------------------------------------
    23 
    25 
    24 definitions formatted to fit within 60 characters:
    26 definitions formatted to fit within 60 characters:
    25 ----------------------------------------------------------------------
    27 ----------------------------------------------------------------------
    26 A Term
    28 A Term
    31     determines the indentation, so this will be indented
    33     determines the indentation, so this will be indented
    32     with four spaces.
    34     with four spaces.
    33 
    35 
    34   A Nested/Indented Term
    36   A Nested/Indented Term
    35     Definition.
    37     Definition.
       
    38 
    36 ----------------------------------------------------------------------
    39 ----------------------------------------------------------------------
    37 
    40 
    38 definitions formatted to fit within 30 characters:
    41 definitions formatted to fit within 30 characters:
    39 ----------------------------------------------------------------------
    42 ----------------------------------------------------------------------
    40 A Term
    43 A Term
    50     be indented with four
    53     be indented with four
    51     spaces.
    54     spaces.
    52 
    55 
    53   A Nested/Indented Term
    56   A Nested/Indented Term
    54     Definition.
    57     Definition.
       
    58 
    55 ----------------------------------------------------------------------
    59 ----------------------------------------------------------------------
    56 
    60 
    57 literals formatted to fit within 60 characters:
    61 literals formatted to fit within 60 characters:
    58 ----------------------------------------------------------------------
    62 ----------------------------------------------------------------------
    59 The fully minimized form is the most convenient form:
    63 The fully minimized form is the most convenient form:
    70   \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
    74   \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
    71 
    75 
    72   This literal block is started with '::',
    76   This literal block is started with '::',
    73     the so-called expanded form. The paragraph
    77     the so-called expanded form. The paragraph
    74       with '::' disappears in the final output.
    78       with '::' disappears in the final output.
       
    79 
    75 ----------------------------------------------------------------------
    80 ----------------------------------------------------------------------
    76 
    81 
    77 literals formatted to fit within 30 characters:
    82 literals formatted to fit within 30 characters:
    78 ----------------------------------------------------------------------
    83 ----------------------------------------------------------------------
    79 The fully minimized form is
    84 The fully minimized form is
    92   \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
    97   \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
    93 
    98 
    94   This literal block is started with '::',
    99   This literal block is started with '::',
    95     the so-called expanded form. The paragraph
   100     the so-called expanded form. The paragraph
    96       with '::' disappears in the final output.
   101       with '::' disappears in the final output.
       
   102 
    97 ----------------------------------------------------------------------
   103 ----------------------------------------------------------------------
    98 
   104 
    99 lists formatted to fit within 60 characters:
   105 lists formatted to fit within 60 characters:
   100 ----------------------------------------------------------------------
   106 ----------------------------------------------------------------------
   101 - This is the first list item.
   107 - This is the first list item.
   127 
   133 
   128 Line blocks are also a form of list:
   134 Line blocks are also a form of list:
   129 
   135 
   130 This is the first line. The line continues here.
   136 This is the first line. The line continues here.
   131 This is the second line.
   137 This is the second line.
       
   138 
   132 ----------------------------------------------------------------------
   139 ----------------------------------------------------------------------
   133 
   140 
   134 lists formatted to fit within 30 characters:
   141 lists formatted to fit within 30 characters:
   135 ----------------------------------------------------------------------
   142 ----------------------------------------------------------------------
   136 - This is the first list item.
   143 - This is the first list item.
   171 list:
   178 list:
   172 
   179 
   173 This is the first line. The
   180 This is the first line. The
   174 line continues here.
   181 line continues here.
   175 This is the second line.
   182 This is the second line.
       
   183 
   176 ----------------------------------------------------------------------
   184 ----------------------------------------------------------------------
   177 
   185 
   178 options formatted to fit within 60 characters:
   186 options formatted to fit within 60 characters:
   179 ----------------------------------------------------------------------
   187 ----------------------------------------------------------------------
   180 There is support for simple option lists, but only with long
   188 There is support for simple option lists, but only with long
   198 The next paragraph looks like an option list, but lacks the
   206 The next paragraph looks like an option list, but lacks the
   199 two-space marker after the option. It is treated as a normal
   207 two-space marker after the option. It is treated as a normal
   200 paragraph:
   208 paragraph:
   201 
   209 
   202 --foo bar baz
   210 --foo bar baz
       
   211 
   203 ----------------------------------------------------------------------
   212 ----------------------------------------------------------------------
   204 
   213 
   205 options formatted to fit within 30 characters:
   214 options formatted to fit within 30 characters:
   206 ----------------------------------------------------------------------
   215 ----------------------------------------------------------------------
   207 There is support for simple
   216 There is support for simple
   270 two-space marker after the
   279 two-space marker after the
   271 option. It is treated as a
   280 option. It is treated as a
   272 normal paragraph:
   281 normal paragraph:
   273 
   282 
   274 --foo bar baz
   283 --foo bar baz
       
   284 
   275 ----------------------------------------------------------------------
   285 ----------------------------------------------------------------------
   276 
   286 
   277 fields formatted to fit within 60 characters:
   287 fields formatted to fit within 60 characters:
   278 ----------------------------------------------------------------------
   288 ----------------------------------------------------------------------
   279 a   First item.
   289 a   First item.
   284 
   294 
   285 small       The larger key below triggers full indentation
   295 small       The larger key below triggers full indentation
   286             here.
   296             here.
   287 much too large
   297 much too large
   288             This key is big enough to get its own line.
   298             This key is big enough to get its own line.
       
   299 
   289 ----------------------------------------------------------------------
   300 ----------------------------------------------------------------------
   290 
   301 
   291 fields formatted to fit within 30 characters:
   302 fields formatted to fit within 30 characters:
   292 ----------------------------------------------------------------------
   303 ----------------------------------------------------------------------
   293 a   First item.
   304 a   First item.
   303             here.
   314             here.
   304 much too large
   315 much too large
   305             This key is big
   316             This key is big
   306             enough to get its
   317             enough to get its
   307             own line.
   318             own line.
       
   319 
   308 ----------------------------------------------------------------------
   320 ----------------------------------------------------------------------
   309 
   321 
   310 containers (normal) formatted to fit within 60 characters:
   322 containers (normal) formatted to fit within 60 characters:
   311 ----------------------------------------------------------------------
   323 ----------------------------------------------------------------------
   312 Normal output.
   324 Normal output.
       
   325 
   313 ----------------------------------------------------------------------
   326 ----------------------------------------------------------------------
   314 
   327 
   315 containers (verbose) formatted to fit within 60 characters:
   328 containers (verbose) formatted to fit within 60 characters:
   316 ----------------------------------------------------------------------
   329 ----------------------------------------------------------------------
   317 Normal output.
   330 Normal output.
   318 
   331 
   319 Verbose output.
   332 Verbose output.
       
   333 
   320 ----------------------------------------------------------------------
   334 ----------------------------------------------------------------------
   321 ['debug', 'debug']
   335 ['debug', 'debug']
   322 ----------------------------------------------------------------------
   336 ----------------------------------------------------------------------
   323 
   337 
   324 containers (debug) formatted to fit within 60 characters:
   338 containers (debug) formatted to fit within 60 characters:
   325 ----------------------------------------------------------------------
   339 ----------------------------------------------------------------------
   326 Normal output.
   340 Normal output.
   327 
   341 
   328 Initial debug output.
   342 Initial debug output.
       
   343 
   329 ----------------------------------------------------------------------
   344 ----------------------------------------------------------------------
   330 ['verbose']
   345 ['verbose']
   331 ----------------------------------------------------------------------
   346 ----------------------------------------------------------------------
   332 
   347 
   333 containers (verbose debug) formatted to fit within 60 characters:
   348 containers (verbose debug) formatted to fit within 60 characters:
   337 Initial debug output.
   352 Initial debug output.
   338 
   353 
   339 Verbose output.
   354 Verbose output.
   340 
   355 
   341 Debug output.
   356 Debug output.
       
   357 
   342 ----------------------------------------------------------------------
   358 ----------------------------------------------------------------------
   343 []
   359 []
   344 ----------------------------------------------------------------------
   360 ----------------------------------------------------------------------
   345 
   361 
   346 roles formatted to fit within 60 characters:
   362 roles formatted to fit within 60 characters:
   347 ----------------------------------------------------------------------
   363 ----------------------------------------------------------------------
   348 Please see "hg add".
   364 Please see "hg add".
       
   365 
   349 ----------------------------------------------------------------------
   366 ----------------------------------------------------------------------
   350 
   367 
   351 sections formatted to fit within 20 characters:
   368 sections formatted to fit within 20 characters:
   352 ----------------------------------------------------------------------
   369 ----------------------------------------------------------------------
   353 Title
   370 Title
   359 Subsection
   376 Subsection
   360 ''''''''''
   377 ''''''''''
   361 
   378 
   362 Markup: "foo" and "hg help"
   379 Markup: "foo" and "hg help"
   363 ---------------------------
   380 ---------------------------
       
   381 
   364 ----------------------------------------------------------------------
   382 ----------------------------------------------------------------------
   365 
   383 
   366 admonitions formatted to fit within 30 characters:
   384 admonitions formatted to fit within 30 characters:
   367 ----------------------------------------------------------------------
   385 ----------------------------------------------------------------------
   368 Note:
   386 Note:
   375       This is a warning Second
   393       This is a warning Second
   376       input line of warning
   394       input line of warning
   377 
   395 
   378 !Danger!
   396 !Danger!
   379    This is danger
   397    This is danger
       
   398 
   380 ----------------------------------------------------------------------
   399 ----------------------------------------------------------------------
   381 
   400 
   382 comments formatted to fit within 30 characters:
   401 comments formatted to fit within 30 characters:
   383 ----------------------------------------------------------------------
   402 ----------------------------------------------------------------------
   384 Some text.
   403 Some text.
   385 
   404 
   386    Some indented text.
   405    Some indented text.
   387 
   406 
   388 Empty comment above
   407 Empty comment above
       
   408 
   389 ----------------------------------------------------------------------
   409 ----------------------------------------------------------------------
   390 
   410 
   391   === === ========================================
   411   === === ========================================
   392   a   b   c                                       
   412   a   b   c                                       
   393   === === ========================================
   413   === === ========================================