...

Text file src/github.com/yuin/goldmark/_test/extra.txt

Documentation: github.com/yuin/goldmark/_test

     11
     2//- - - - - - - - -//
     3*	A
     4    B
     5//- - - - - - - - -//
     6<ul>
     7<li>A
     8B</li>
     9</ul>
    10//= = = = = = = = = = = = = = = = = = = = = = = =//
    11
    12
    13
    142
    15//- - - - - - - - -//
    16**test**\
    17test**test**\
    18**test**test\
    19test**test**
    20//- - - - - - - - -//
    21<p><strong>test</strong><br />
    22test<strong>test</strong><br />
    23<strong>test</strong>test<br />
    24test<strong>test</strong></p>
    25//= = = = = = = = = = = = = = = = = = = = = = = =//
    26
    27
    28
    293
    30//- - - - - - - - -//
    31>*	>
    32> 	1
    33>		2
    34>3
    35//- - - - - - - - -//
    36<blockquote>
    37<ul>
    38<li>
    39<blockquote>
    40</blockquote>
    41</li>
    42</ul>
    43<p>1
    442
    453</p>
    46</blockquote>
    47//= = = = = = = = = = = = = = = = = = = = = = = =//
    48
    49
    50
    514
    52//- - - - - - - - -//
    53`test`a`test`
    54//- - - - - - - - -//
    55<p><code>test</code>a<code>test</code></p>
    56//= = = = = = = = = = = = = = = = = = = = = = = =//
    57
    58
    59
    605
    61//- - - - - - - - -//
    62_**TL/DR** - [Go see summary.](#my-summary-area)_
    63//- - - - - - - - -//
    64<p><em><strong>TL/DR</strong> - <a href="#my-summary-area">Go see summary.</a></em></p>
    65//= = = = = = = = = = = = = = = = = = = = = = = =//
    66
    67
    68
    696
    70//- - - - - - - - -//
    71[This link won't be rendered
    72correctly](https://geeksocket.in/some-long-link-here "This is the
    73place where everything breaks")
    74//- - - - - - - - -//
    75<p><a href="https://geeksocket.in/some-long-link-here" title="This is the
    76place where everything breaks">This link won't be rendered
    77correctly</a></p>
    78//= = = = = = = = = = = = = = = = = = = = = = = =//
    79
    80
    81
    827
    83//- - - - - - - - -//
    84[](./target.md)
    85//- - - - - - - - -//
    86<p><a href="./target.md"></a></p>
    87//= = = = = = = = = = = = = = = = = = = = = = = =//
    88
    89
    90
    918
    92//- - - - - - - - -//
    93[]()
    94//- - - - - - - - -//
    95<p><a href=""></a></p>
    96//= = = = = = = = = = = = = = = = = = = = = = = =//
    97
    98
    99
   1009
   101//- - - - - - - - -//
   102[daß] is the old german spelling of [dass]
   103
   104[daß]: www.das-dass.de
   105//- - - - - - - - -//
   106<p><a href="www.das-dass.de">daß</a> is the old german spelling of <a href="www.das-dass.de">dass</a></p>
   107//= = = = = = = = = = = = = = = = = = = = = = = =//
   108
   109
   110
   11110
   112//- - - - - - - - -//
   1131. First step.
   114
   115   ~~~
   116   aaa
   117   ---
   118   bbb
   119   ~~~
   120
   1212. few other steps.
   122//- - - - - - - - -//
   123<ol>
   124<li>
   125<p>First step.</p>
   126<pre><code>aaa
   127---
   128bbb
   129</code></pre>
   130</li>
   131<li>
   132<p>few other steps.</p>
   133</li>
   134</ol>
   135//= = = = = = = = = = = = = = = = = = = = = = = =//
   136
   137
   138
   13911: delimiters between ascii punctuations should be parsed
   140//- - - - - - - - -//
   141`{%`_name_`%}`
   142//- - - - - - - - -//
   143<p><code>{%</code><em>name</em><code>%}</code></p>
   144//= = = = = = = = = = = = = = = = = = = = = = = =//
   145
   146
   147
   14812: the alt attribute of img should be escaped
   149//- - - - - - - - -//
   150!["](quot.jpg)
   151!['](apos.jpg)
   152![<](lt.jpg)
   153![>](gt.jpg)
   154![&](amp.jpg) 
   155//- - - - - - - - -//
   156<p><img src="quot.jpg" alt="&quot;" />
   157<img src="apos.jpg" alt="'" />
   158<img src="lt.jpg" alt="&lt;" />
   159<img src="gt.jpg" alt="&gt;" />
   160<img src="amp.jpg" alt="&amp;" /></p>
   161//= = = = = = = = = = = = = = = = = = = = = = = =//
   162
   163
   16413: fenced code block starting with tab inside list
   165//- - - - - - - - -//
   166* foo
   167  ```Makefile
   168  foo
   169  	foo
   170  ```
   171//- - - - - - - - -//
   172<ul>
   173<li>foo
   174<pre><code class="language-Makefile">foo
   175	foo
   176</code></pre>
   177</li>
   178</ul>
   179//= = = = = = = = = = = = = = = = = = = = = = = =//
   180
   18114: fenced code block inside list, mismatched tab start
   182//- - - - - - - - -//
   183* foo
   184  ```Makefile
   185  foo
   186 	foo
   187  ```
   188//- - - - - - - - -//
   189<ul>
   190<li>foo
   191<pre><code class="language-Makefile">foo
   192  foo
   193</code></pre>
   194</li>
   195</ul>
   196//= = = = = = = = = = = = = = = = = = = = = = = =//
   197
   198
   19915: fenced code block inside nested list
   200//- - - - - - - - -//
   201* foo
   202  -  bar
   203     ```Makefile
   204     foo
   205     	foo
   206     ```
   207//- - - - - - - - -//
   208<ul>
   209<li>foo
   210<ul>
   211<li>bar
   212<pre><code class="language-Makefile">foo
   213	foo
   214</code></pre>
   215</li>
   216</ul>
   217</li>
   218</ul>
   219//= = = = = = = = = = = = = = = = = = = = = = = =//
   220
   22116: indented code block starting with a tab.
   222//- - - - - - - - -//
   223* foo
   224   
   225      foo
   226      	foo
   227
   228//- - - - - - - - -//
   229<ul>
   230<li>
   231<p>foo</p>
   232<pre><code>foo
   233	foo
   234</code></pre>
   235</li>
   236</ul>
   237//= = = = = = = = = = = = = = = = = = = = = = = =//
   238
   23917: fenced code block in list, empty line, spaces on start
   240//- - - - - - - - -//
   241* foo
   242  ```Makefile
   243  foo
   244  
   245  foo
   246  ```
   247//- - - - - - - - -//
   248<ul>
   249<li>foo
   250<pre><code class="language-Makefile">foo
   251
   252foo
   253</code></pre>
   254</li>
   255</ul>
   256//= = = = = = = = = = = = = = = = = = = = = = = =//
   257
   25818: fenced code block in list, empty line, no spaces on start
   259//- - - - - - - - -//
   260* foo
   261  ```Makefile
   262  foo
   263
   264  foo
   265  ```
   266//- - - - - - - - -//
   267<ul>
   268<li>foo
   269<pre><code class="language-Makefile">foo
   270
   271foo
   272</code></pre>
   273</li>
   274</ul>
   275//= = = = = = = = = = = = = = = = = = = = = = = =//
   276
   277
   27819: fenced code block inside nested list, empty line, spaces on start
   279//- - - - - - - - -//
   280* foo
   281  -  bar
   282     ```Makefile
   283     foo
   284
   285     foo
   286     ```
   287//- - - - - - - - -//
   288<ul>
   289<li>foo
   290<ul>
   291<li>bar
   292<pre><code class="language-Makefile">foo
   293
   294foo
   295</code></pre>
   296</li>
   297</ul>
   298</li>
   299</ul>
   300//= = = = = = = = = = = = = = = = = = = = = = = =//
   301
   302
   30320: fenced code block inside nested list, empty line, no space on start
   304//- - - - - - - - -//
   305* foo
   306  -  bar
   307     ```Makefile
   308     foo
   309
   310     foo
   311     ```
   312//- - - - - - - - -//
   313<ul>
   314<li>foo
   315<ul>
   316<li>bar
   317<pre><code class="language-Makefile">foo
   318
   319foo
   320</code></pre>
   321</li>
   322</ul>
   323</li>
   324</ul>
   325//= = = = = = = = = = = = = = = = = = = = = = = =//
   326
   32721: Fenced code block within list can start with tab
   328//- - - - - - - - -//
   329- List
   330
   331    ```
   332    A
   333    	B
   334    C
   335    ```
   336//- - - - - - - - -//
   337<ul>
   338<li>
   339<p>List</p>
   340<pre><code>A
   341	B
   342C
   343</code></pre>
   344</li>
   345</ul>
   346//= = = = = = = = = = = = = = = = = = = = = = = =//
   347
   34822: Indented code block within list can start with tab
   349//- - - - - - - - -//
   350- List
   351
   352      A
   353      	B
   354      C
   355
   356a
   357//- - - - - - - - -//
   358<ul>
   359<li>
   360<p>List</p>
   361<pre><code>A
   362	B
   363C
   364</code></pre>
   365</li>
   366</ul>
   367<p>a</p>
   368//= = = = = = = = = = = = = = = = = = = = = = = =//
   369
   37023: Emphasis corner case(yuin/goldmark#245)
   371//- - - - - - - - -//
   372a* b c d *e*
   373//- - - - - - - - -//
   374<p>a* b c d <em>e</em></p>
   375//= = = = = = = = = = = = = = = = = = = = = = = =//
   376
   37724: HTML block tags can contain trailing spaces
   378//- - - - - - - - -//
   379<aaa >
   380//- - - - - - - - -//
   381<aaa >
   382//= = = = = = = = = = = = = = = = = = = = = = = =//
   383
   38425: Indented code blocks can start with tab
   385//- - - - - - - - -//
   386		x
   387//- - - - - - - - -//
   388<pre><code>	x</code></pre>
   389//= = = = = = = = = = = = = = = = = = = = = = = =//
   390
   39126: NUL bytes must be replaced with U+FFFD
   392    OPTIONS: {"enableEscape": true}
   393//- - - - - - - - -//
   394hello\x00world
   395
   396<?\x00
   397//- - - - - - - - -//
   398<p>hello\ufffdworld</p>
   399<?\uFFFD
   400//= = = = = = = = = = = = = = = = = = = = = = = =//
   401
   40227: Newlines in code spans must be preserved as a space
   403    OPTIONS: {"enableEscape": true}
   404//- - - - - - - - -//
   405`\n`
   406
   407`x\n`
   408
   409`\nx`
   410//- - - - - - - - -//
   411<p><code> </code></p>
   412<p><code>x </code></p>
   413<p><code> x</code></p>
   414//= = = = = = = = = = = = = = = = = = = = = = = =//
   415
   41628: Single # is a heading level 1
   417//- - - - - - - - -//
   418#
   419//- - - - - - - - -//
   420<h1></h1>
   421//= = = = = = = = = = = = = = = = = = = = = = = =//
   422
   42329: An empty list item cannot interrupt a paragraph
   424//- - - - - - - - -//
   425x
   426*
   427//- - - - - - - - -//
   428<p>x
   429*</p>
   430//= = = = = = = = = = = = = = = = = = = = = = = =//
   431
   43230: A link reference definition followed by a single quote without closer
   433//- - - - - - - - -//
   434[x]
   435
   436[x]: <>
   437'
   438//- - - - - - - - -//
   439<p><a href="">x</a></p>
   440<p>'</p>
   441//= = = = = = = = = = = = = = = = = = = = = = = =//
   442
   44331: A link reference definition followed by a double quote without closer
   444//- - - - - - - - -//
   445[x]
   446
   447[x]: <>
   448"
   449//- - - - - - - - -//
   450<p><a href="">x</a></p>
   451<p>&quot;</p>
   452//= = = = = = = = = = = = = = = = = = = = = = = =//
   453
   454
   45532: Hex character entities must be limited to 6 characters
   456//- - - - - - - - -//
   457&#x0000041;
   458//- - - - - - - - -//
   459<p>&amp;#x0000041;</p>
   460//= = = = = = = = = = = = = = = = = = = = = = = =//
   461
   46233: \x01 should be escaped all the time
   463    OPTIONS: {"enableEscape": true}
   464//- - - - - - - - -//
   465[x](\x01)
   466//- - - - - - - - -//
   467<p><a href="%01">x</a></p>
   468//= = = = = = = = = = = = = = = = = = = = = = = =//
   469
   47034: A form feed should not be treated as a space
   471    OPTIONS: {"enableEscape": true}
   472//- - - - - - - - -//
   473x \f
   474//- - - - - - - - -//
   475<p>x \f</p>
   476//= = = = = = = = = = = = = = = = = = = = = = = =//
   477
   47835: A link reference definition can contain a new line
   479//- - - - - - - - -//
   480This is a [test][foo
   481bar] 1...2..3...
   482
   483[foo bar]: /
   484//- - - - - - - - -//
   485<p>This is a <a href="/">test</a> 1...2..3...</p>
   486//= = = = = = = = = = = = = = = = = = = = = = = =//
   487
   48836: Emphasis and links
   489//- - - - - - - - -//
   490_a[b_c_](d)
   491//- - - - - - - - -//
   492<p>_a<a href="d">b_c_</a></p>
   493//= = = = = = = = = = = = = = = = = = = = = = = =//
   494
   49537: Tabs and spaces
   496    OPTIONS: {"enableEscape": true}
   497//- - - - - - - - -//
   498\t\t x\n
   499//- - - - - - - - -//
   500<pre><code>\t x\n</code></pre>
   501//= = = = = = = = = = = = = = = = = = = = = = = =//
   502
   50338: Decimal HTML entity literals should allow 7 digits
   504//- - - - - - - - -//
   505&#7654321;
   506//- - - - - - - - -//
   507<p>\uFFFD</p>
   508//= = = = = = = = = = = = = = = = = = = = = = = =//
   509
   51039: Decimal HTML entities should not be interpreted as octal when starting with a 0
   511//- - - - - - - - -//
   512&#0100;
   513//- - - - - - - - -//
   514<p>d</p>
   515//= = = = = = = = = = = = = = = = = = = = = = = =//
   516
   51740: Invalid HTML tag names
   518//- - - - - - - - -//
   519<1>
   520
   521<a:>
   522
   523<a\f>
   524
   525< p>
   526//- - - - - - - - -//
   527<p>&lt;1&gt;</p>
   528<p>&lt;a:&gt;</p>
   529<p>&lt;a\f&gt;</p>
   530<p>&lt; p&gt;</p>
   531//= = = = = = = = = = = = = = = = = = = = = = = =//
   532
   53341: Link references can not contain spaces after link label
   534//- - - - - - - - -//
   535[x]
   536:>
   537
   538[o] :x
   539//- - - - - - - - -//
   540<p>[x]
   541:&gt;</p>
   542<p>[o] :x</p>
   543//= = = = = = = = = = = = = = = = = = = = = = = =//
   544
   54542: Unclosed link reference titles can interrupt link references
   546//- - - - - - - - -//
   547[r]:
   548<>
   549'
   550
   551[o]:
   552x
   553'
   554//- - - - - - - - -//
   555<p>'</p>
   556<p>'</p>
   557//= = = = = = = = = = = = = = = = = = = = = = = =//
   558
   55943: A link containing an image containing a link should disable the outer link
   560//- - - - - - - - -//
   561[ ![ [b](c) ](x) ](y)
   562//- - - - - - - - -//
   563<p>[ <img src="x" alt=" b " /> ](y)</p>
   564//= = = = = = = = = = = = = = = = = = = = = = = =//
   565
   56644: An empty list item(with trailing spaces) cannot interrupt a paragraph
   567//- - - - - - - - -//
   568a
   569*  
   570//- - - - - - - - -//
   571<p>a
   572*</p>
   573//= = = = = = = = = = = = = = = = = = = = = = = =//
   574
   57545: Multiple empty list items
   576//- - - - - - - - -//
   577-
   578
   579-
   580//- - - - - - - - -//
   581<ul>
   582<li></li>
   583<li></li>
   584</ul>
   585//= = = = = = = = = = = = = = = = = = = = = = = =//
   586
   58746: Vertical tab should not be treated as spaces
   588    OPTIONS: {"enableEscape": true}
   589//- - - - - - - - -//
   590\v
   591//- - - - - - - - -//
   592<p>\v</p>
   593//= = = = = = = = = = = = = = = = = = = = = = = =//
   594
   59547: Escape back slashes should not be treated as hard line breaks
   596//- - - - - - - - -//
   597\\\\
   598a
   599//- - - - - - - - -//
   600<p>\
   601a</p>
   602//= = = = = = = = = = = = = = = = = = = = = = = =//
   603
   60448: Multiple paragraphs in tight list
   605//- - - - - - - - -//
   606- a
   607  >
   608  b
   609//- - - - - - - - -//
   610<ul>
   611<li>a
   612<blockquote>
   613</blockquote>
   614b</li>
   615</ul>
   616//= = = = = = = = = = = = = = = = = = = = = = = =//
   617
   618
   61949: A list item that is indented up to 3 spaces after an empty list item
   620//- - - - - - - - -//
   6211.
   622
   623   1. b
   624
   625-
   626
   627  - b
   628//- - - - - - - - -//
   629<ol>
   630<li></li>
   631<li>
   632<p>b</p>
   633</li>
   634</ol>
   635<ul>
   636<li></li>
   637<li>
   638<p>b</p>
   639</li>
   640</ul>
   641//= = = = = = = = = = = = = = = = = = = = = = = =//
   642
   643
   64450: Spaces before a visible hard linebreak should be preserved
   645//- - - - - - - - -//
   646a \
   647b
   648//- - - - - - - - -//
   649<p>a <br />
   650b</p>
   651//= = = = = = = = = = = = = = = = = = = = = = = =//
   652
   653
   65451: Empty line in a fenced code block under list items
   655//- - - - - - - - -//
   656* This is a list item
   657    ```
   658    This is a test
   659
   660    This line will be dropped.
   661    This line will be displayed.
   662    ```
   663//- - - - - - - - -//
   664<ul>
   665<li>This is a list item
   666<pre><code>This is a test
   667
   668This line will be dropped.
   669This line will be displayed.
   670</code></pre>
   671</li>
   672</ul>
   673//= = = = = = = = = = = = = = = = = = = = = = = =//
   674
   675
   67652: windows-style newline and HTMLs
   677    OPTIONS: {"enableEscape": true}
   678//- - - - - - - - -//
   679<a \r\nhref='link'>link</a>
   680
   681<video autoplay muted loop>\r\n<source src=\"https://example.com/example.mp4\" type=\"video/mp4\">\r\nYour browser does not support the video tag.\r\n</video>
   682//- - - - - - - - -//
   683<p><a \r\nhref='link'>link</a></p>
   684<video autoplay muted loop>\r\n<source src=\"https://example.com/example.mp4\" type=\"video/mp4\">\r\nYour browser does not support the video tag.\r\n</video>
   685//= = = = = = = = = = = = = = = = = = = = = = = =//
   686
   687
   68853: HTML comment without trailing new lines
   689    OPTIONS: {"trim": true}
   690//- - - - - - - - -//
   691<!--
   692-->
   693//- - - - - - - - -//
   694<!--
   695-->
   696//= = = = = = = = = = = = = = = = = = = = = = = =//
   697
   698
   69954: Escaped characters followed by a null character
   700    OPTIONS: {"enableEscape": true}
   701//- - - - - - - - -//
   702\\\x00\"
   703//- - - - - - - - -//
   704<p>\\\ufffd&quot;</p>
   705//= = = = = = = = = = = = = = = = = = = = = = = =//
   706
   707
   70855: inline HTML comment
   709//- - - - - - - - -//
   710a <!-- b --> c
   711
   712a <!-- b -->
   713//- - - - - - - - -//
   714<p>a <!-- b --> c</p>
   715<p>a <!-- b --></p>
   716//= = = = = = = = = = = = = = = = = = = = = = = =//
   717
   718
   71956: An empty list followed by blockquote
   720//- - - - - - - - -//
   7211.
   722> This is a quote.
   723//- - - - - - - - -//
   724<ol>
   725<li></li>
   726</ol>
   727<blockquote>
   728<p>This is a quote.</p>
   729</blockquote>
   730//= = = = = = = = = = = = = = = = = = = = = = = =//
   731
   73257: Tabbed fenced code block within a list
   733//- - - - - - - - -//
   7341.
   735	```
   736	```
   737//- - - - - - - - -//
   738<ol>
   739<li>
   740<pre><code></code></pre>
   741</li>
   742</ol>
   743//= = = = = = = = = = = = = = = = = = = = = = = =//
   744
   745
   74658: HTML end tag without trailing new lines
   747    OPTIONS: {"trim": true}
   748//- - - - - - - - -//
   749<pre>
   750</pre>
   751//- - - - - - - - -//
   752<pre>
   753</pre>
   754//= = = = = = = = = = = = = = = = = = = = = = = =//
   755
   75659: Raw HTML tag with one new line
   757//- - - - - - - - -//
   758<img src=./.assets/logo.svg
   759/>
   760//- - - - - - - - -//
   761<p><img src=./.assets/logo.svg
   762/></p>
   763//= = = = = = = = = = = = = = = = = = = = = = = =//
   764
   76560: Raw HTML tag with multiple new lines
   766//- - - - - - - - -//
   767<img src=./.assets/logo.svg
   768
   769/>
   770//- - - - - - - - -//
   771<p>&lt;img src=./.assets/logo.svg</p>
   772<p>/&gt;</p>
   773//= = = = = = = = = = = = = = = = = = = = = = = =//
   774
   77561: Image alt with a new line
   776//- - - - - - - - -//
   777![alt
   778text](logo.png)
   779//- - - - - - - - -//
   780<p><img src="logo.png" alt="alt
   781text" /></p>
   782//= = = = = = = = = = = = = = = = = = = = = = = =//

View as plain text