links.unit 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477
  1. >>> Links - 493
  2. [link](/uri "title")
  3. <<<
  4. <p><a href="/uri" title="title">link</a></p>
  5. >>> Links - 494
  6. [link](/uri)
  7. <<<
  8. <p><a href="/uri">link</a></p>
  9. >>> Links - 495
  10. [link]()
  11. <<<
  12. <p><a href="">link</a></p>
  13. >>> Links - 496
  14. [link](<>)
  15. <<<
  16. <p><a href="">link</a></p>
  17. >>> Links - 497
  18. [link](/my uri)
  19. <<<
  20. <p>[link](/my uri)</p>
  21. >>> Links - 498
  22. [link](</my uri>)
  23. <<<
  24. <p><a href="/my%20uri">link</a></p>
  25. >>> Links - 499
  26. [link](foo
  27. bar)
  28. <<<
  29. <p>[link](foo
  30. bar)</p>
  31. >>> Links - 500
  32. [link](<foo
  33. bar>)
  34. <<<
  35. <p>[link](<foo
  36. bar>)</p>
  37. >>> Links - 501
  38. [a](<b)c>)
  39. <<<
  40. <p><a href="b)c">a</a></p>
  41. >>> Links - 502
  42. [link](<foo\>)
  43. <<<
  44. <p>[link](&lt;foo&gt;)</p>
  45. >>> Links - 503
  46. [a](<b)c
  47. [a](<b)c>
  48. [a](<b>c)
  49. <<<
  50. <p>[a](&lt;b)c
  51. [a](&lt;b)c&gt;
  52. [a](<b>c)</p>
  53. >>> Links - 504
  54. [link](\(foo\))
  55. <<<
  56. <p><a href="(foo)">link</a></p>
  57. >>> Links - 505
  58. [link](foo(and(bar)))
  59. <<<
  60. <p><a href="foo(and(bar))">link</a></p>
  61. >>> Links - 506
  62. [link](foo\(and\(bar\))
  63. <<<
  64. <p><a href="foo(and(bar)">link</a></p>
  65. >>> Links - 507
  66. [link](<foo(and(bar)>)
  67. <<<
  68. <p><a href="foo(and(bar)">link</a></p>
  69. >>> Links - 508
  70. [link](foo\)\:)
  71. <<<
  72. <p><a href="foo):">link</a></p>
  73. >>> Links - 509
  74. [link](#fragment)
  75. [link](http://example.com#fragment)
  76. [link](http://example.com?foo=3#frag)
  77. <<<
  78. <p><a href="#fragment">link</a></p>
  79. <p><a href="http://example.com#fragment">link</a></p>
  80. <p><a href="http://example.com?foo=3#frag">link</a></p>
  81. >>> Links - 510
  82. [link](foo\bar)
  83. <<<
  84. <p><a href="foo%5Cbar">link</a></p>
  85. >>> Links - 511
  86. [link](foo%20b&auml;)
  87. <<<
  88. <p><a href="foo%20b%C3%A4">link</a></p>
  89. >>> Links - 512
  90. [link]("title")
  91. <<<
  92. <p><a href="%22title%22">link</a></p>
  93. >>> Links - 513
  94. [link](/url "title")
  95. [link](/url 'title')
  96. [link](/url (title))
  97. <<<
  98. <p><a href="/url" title="title">link</a>
  99. <a href="/url" title="title">link</a>
  100. <a href="/url" title="title">link</a></p>
  101. >>> Links - 514
  102. [link](/url "title \"&quot;")
  103. <<<
  104. <p><a href="/url" title="title &quot;&quot;">link</a></p>
  105. >>> Links - 515
  106. [link](/url "title")
  107. <<<
  108. <p><a href="/url%C2%A0%22title%22">link</a></p>
  109. >>> Links - 516
  110. [link](/url "title "and" title")
  111. <<<
  112. <p>[link](/url &quot;title &quot;and&quot; title&quot;)</p>
  113. >>> Links - 517
  114. [link](/url 'title "and" title')
  115. <<<
  116. <p><a href="/url" title="title &quot;and&quot; title">link</a></p>
  117. >>> Links - 518
  118. [link]( /uri
  119. "title" )
  120. <<<
  121. <p><a href="/uri" title="title">link</a></p>
  122. >>> Links - 519
  123. [link] (/uri)
  124. <<<
  125. <p>[link] (/uri)</p>
  126. >>> Links - 520
  127. [link [foo [bar]]](/uri)
  128. <<<
  129. <p><a href="/uri">link [foo [bar]]</a></p>
  130. >>> Links - 521
  131. [link] bar](/uri)
  132. <<<
  133. <p>[link] bar](/uri)</p>
  134. >>> Links - 522
  135. [link [bar](/uri)
  136. <<<
  137. <p>[link <a href="/uri">bar</a></p>
  138. >>> Links - 523
  139. [link \[bar](/uri)
  140. <<<
  141. <p><a href="/uri">link [bar</a></p>
  142. >>> Links - 524
  143. [link *foo **bar** `#`*](/uri)
  144. <<<
  145. <p><a href="/uri">link <em>foo <strong>bar</strong> <code>#</code></em></a></p>
  146. >>> Links - 525
  147. [![moon](moon.jpg)](/uri)
  148. <<<
  149. <p><a href="/uri"><img src="moon.jpg" alt="moon" /></a></p>
  150. >>> Links - 526
  151. [foo [bar](/uri)](/uri)
  152. <<<
  153. <p>[foo <a href="/uri">bar</a>](/uri)</p>
  154. >>> Links - 527
  155. [foo *[bar [baz](/uri)](/uri)*](/uri)
  156. <<<
  157. <p>[foo <em>[bar <a href="/uri">baz</a>](/uri)</em>](/uri)</p>
  158. >>> Links - 528
  159. ![[[foo](uri1)](uri2)](uri3)
  160. <<<
  161. <p><img src="uri3" alt="[foo](uri2)" /></p>
  162. >>> Links - 529
  163. *[foo*](/uri)
  164. <<<
  165. <p>*<a href="/uri">foo*</a></p>
  166. >>> Links - 530
  167. [foo *bar](baz*)
  168. <<<
  169. <p><a href="baz*">foo *bar</a></p>
  170. >>> Links - 531
  171. *foo [bar* baz]
  172. <<<
  173. <p><em>foo [bar</em> baz]</p>
  174. >>> Links - 532
  175. [foo <bar attr="](baz)">
  176. <<<
  177. <p>[foo <bar attr="](baz)"></p>
  178. >>> Links - 533
  179. [foo`](/uri)`
  180. <<<
  181. <p>[foo<code>](/uri)</code></p>
  182. >>> Links - 534
  183. [foo<http://example.com/?search=](uri)>
  184. <<<
  185. <p>[foo<a href="http://example.com/?search=%5D(uri)">http://example.com/?search=](uri)</a></p>
  186. >>> Links - 535
  187. [foo][bar]
  188. [bar]: /url "title"
  189. <<<
  190. <p><a href="/url" title="title">foo</a></p>
  191. >>> Links - 536
  192. [link [foo [bar]]][ref]
  193. [ref]: /uri
  194. <<<
  195. <p><a href="/uri">link [foo [bar]]</a></p>
  196. >>> Links - 537
  197. [link \[bar][ref]
  198. [ref]: /uri
  199. <<<
  200. <p><a href="/uri">link [bar</a></p>
  201. >>> Links - 538
  202. [link *foo **bar** `#`*][ref]
  203. [ref]: /uri
  204. <<<
  205. <p><a href="/uri">link <em>foo <strong>bar</strong> <code>#</code></em></a></p>
  206. >>> Links - 539
  207. [![moon](moon.jpg)][ref]
  208. [ref]: /uri
  209. <<<
  210. <p><a href="/uri"><img src="moon.jpg" alt="moon" /></a></p>
  211. >>> Links - 540
  212. [foo [bar](/uri)][ref]
  213. [ref]: /uri
  214. <<<
  215. <p>[foo <a href="/uri">bar</a>]<a href="/uri">ref</a></p>
  216. >>> Links - 541
  217. [foo *bar [baz][ref]*][ref]
  218. [ref]: /uri
  219. <<<
  220. <p>[foo <em>bar <a href="/uri">baz</a></em>]<a href="/uri">ref</a></p>
  221. >>> Links - 542
  222. *[foo*][ref]
  223. [ref]: /uri
  224. <<<
  225. <p>*<a href="/uri">foo*</a></p>
  226. >>> Links - 543
  227. [foo *bar][ref]
  228. [ref]: /uri
  229. <<<
  230. <p><a href="/uri">foo *bar</a></p>
  231. >>> Links - 544
  232. [foo <bar attr="][ref]">
  233. [ref]: /uri
  234. <<<
  235. <p>[foo <bar attr="][ref]"></p>
  236. >>> Links - 545
  237. [foo`][ref]`
  238. [ref]: /uri
  239. <<<
  240. <p>[foo<code>][ref]</code></p>
  241. >>> Links - 546
  242. [foo<http://example.com/?search=][ref]>
  243. [ref]: /uri
  244. <<<
  245. <p>[foo<a href="http://example.com/?search=%5D%5Bref%5D">http://example.com/?search=][ref]</a></p>
  246. >>> Links - 547
  247. [foo][BaR]
  248. [bar]: /url "title"
  249. <<<
  250. <p><a href="/url" title="title">foo</a></p>
  251. >>> Links - 548
  252. [Толпой][Толпой] is a Russian word.
  253. [ТОЛПОЙ]: /url
  254. <<<
  255. <p><a href="/url">Толпой</a> is a Russian word.</p>
  256. >>> Links - 549
  257. [Foo
  258. bar]: /url
  259. [Baz][Foo bar]
  260. <<<
  261. <p><a href="/url">Baz</a></p>
  262. >>> Links - 550
  263. [foo] [bar]
  264. [bar]: /url "title"
  265. <<<
  266. <p>[foo] <a href="/url" title="title">bar</a></p>
  267. >>> Links - 551
  268. [foo]
  269. [bar]
  270. [bar]: /url "title"
  271. <<<
  272. <p>[foo]
  273. <a href="/url" title="title">bar</a></p>
  274. >>> Links - 552
  275. [foo]: /url1
  276. [foo]: /url2
  277. [bar][foo]
  278. <<<
  279. <p><a href="/url1">bar</a></p>
  280. >>> Links - 553
  281. [bar][foo\!]
  282. [foo!]: /url
  283. <<<
  284. <p>[bar][foo!]</p>
  285. >>> Links - 554
  286. [foo][ref[]
  287. [ref[]: /uri
  288. <<<
  289. <p>[foo][ref[]</p>
  290. <p>[ref[]: /uri</p>
  291. >>> Links - 555
  292. [foo][ref[bar]]
  293. [ref[bar]]: /uri
  294. <<<
  295. <p>[foo][ref[bar]]</p>
  296. <p>[ref[bar]]: /uri</p>
  297. >>> Links - 556
  298. [[[foo]]]
  299. [[[foo]]]: /url
  300. <<<
  301. <p>[[[foo]]]</p>
  302. <p>[[[foo]]]: /url</p>
  303. >>> Links - 557
  304. [foo][ref\[]
  305. [ref\[]: /uri
  306. <<<
  307. <p><a href="/uri">foo</a></p>
  308. >>> Links - 558
  309. [bar\\]: /uri
  310. [bar\\]
  311. <<<
  312. <p><a href="/uri">bar\</a></p>
  313. >>> Links - 559
  314. []
  315. []: /uri
  316. <<<
  317. <p>[]</p>
  318. <p>[]: /uri</p>
  319. >>> Links - 560
  320. [
  321. ]
  322. [
  323. ]: /uri
  324. <<<
  325. <p>[
  326. ]</p>
  327. <p>[
  328. ]: /uri</p>
  329. >>> Links - 561
  330. [foo][]
  331. [foo]: /url "title"
  332. <<<
  333. <p><a href="/url" title="title">foo</a></p>
  334. >>> Links - 562
  335. [*foo* bar][]
  336. [*foo* bar]: /url "title"
  337. <<<
  338. <p><a href="/url" title="title"><em>foo</em> bar</a></p>
  339. >>> Links - 563
  340. [Foo][]
  341. [foo]: /url "title"
  342. <<<
  343. <p><a href="/url" title="title">Foo</a></p>
  344. >>> Links - 564
  345. [foo]
  346. []
  347. [foo]: /url "title"
  348. <<<
  349. <p><a href="/url" title="title">foo</a>
  350. []</p>
  351. >>> Links - 565
  352. [foo]
  353. [foo]: /url "title"
  354. <<<
  355. <p><a href="/url" title="title">foo</a></p>
  356. >>> Links - 566
  357. [*foo* bar]
  358. [*foo* bar]: /url "title"
  359. <<<
  360. <p><a href="/url" title="title"><em>foo</em> bar</a></p>
  361. >>> Links - 567
  362. [[*foo* bar]]
  363. [*foo* bar]: /url "title"
  364. <<<
  365. <p>[<a href="/url" title="title"><em>foo</em> bar</a>]</p>
  366. >>> Links - 568
  367. [[bar [foo]
  368. [foo]: /url
  369. <<<
  370. <p>[[bar <a href="/url">foo</a></p>
  371. >>> Links - 569
  372. [Foo]
  373. [foo]: /url "title"
  374. <<<
  375. <p><a href="/url" title="title">Foo</a></p>
  376. >>> Links - 570
  377. [foo] bar
  378. [foo]: /url
  379. <<<
  380. <p><a href="/url">foo</a> bar</p>
  381. >>> Links - 571
  382. \[foo]
  383. [foo]: /url "title"
  384. <<<
  385. <p>[foo]</p>
  386. >>> Links - 572
  387. [foo*]: /url
  388. *[foo*]
  389. <<<
  390. <p>*<a href="/url">foo*</a></p>
  391. >>> Links - 573
  392. [foo][bar]
  393. [foo]: /url1
  394. [bar]: /url2
  395. <<<
  396. <p><a href="/url2">foo</a></p>
  397. >>> Links - 574
  398. [foo][]
  399. [foo]: /url1
  400. <<<
  401. <p><a href="/url1">foo</a></p>
  402. >>> Links - 575
  403. [foo]()
  404. [foo]: /url1
  405. <<<
  406. <p><a href="">foo</a></p>
  407. >>> Links - 576
  408. [foo](not a link)
  409. [foo]: /url1
  410. <<<
  411. <p><a href="/url1">foo</a>(not a link)</p>
  412. >>> Links - 577
  413. [foo][bar][baz]
  414. [baz]: /url
  415. <<<
  416. <p>[foo]<a href="/url">bar</a></p>
  417. >>> Links - 578
  418. [foo][bar][baz]
  419. [baz]: /url1
  420. [bar]: /url2
  421. <<<
  422. <p><a href="/url2">foo</a><a href="/url1">baz</a></p>
  423. >>> Links - 579
  424. [foo][bar][baz]
  425. [baz]: /url1
  426. [foo]: /url2
  427. <<<
  428. <p>[foo]<a href="/url1">bar</a></p>