Blame view

bower_components/prism/tests/languages/rest/link_feature.test 965 Bytes
eb240478   Luigi Serra   public room cards...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
  [1]_

  [2]_

  [#]_

  [#foobar]_

  [CIT2002]_

  

  foobar_

  foo__

  foo:bar_

  `foo:bar`_

  `foo bar baz`__

  _`inline internal target`

  

  ----------------------------------------------------

  

  [

  	["link", [["punctuation", "["], "1", ["punctuation", "]_"]]],

  	["link", [["punctuation", "["], "2", ["punctuation", "]_"]]],

  	["link", [["punctuation", "["], "#", ["punctuation", "]_"]]],

  	["link", [["punctuation", "["], "#foobar", ["punctuation", "]_"]]],

  	["link", [["punctuation", "["], "CIT2002", ["punctuation", "]_"]]],

  

  	["link", ["foobar", ["punctuation", "_"]]],

  	["link", ["foo", ["punctuation", "__"]]],

  	["link", ["foo:bar", ["punctuation", "_"]]],

  	["link", [["punctuation", "`"], "foo:bar", ["punctuation", "`_"]]],

  	["link", [["punctuation", "`"], "foo bar baz", ["punctuation", "`__"]]],

  	["link", [["punctuation", "_`"], "inline internal target", ["punctuation", "`"]]]

  ]

  

  ----------------------------------------------------

  

  Checks for links.