Blame view

bower_components/prism/tests/languages/asciidoc/literal-block_feature.test 959 Bytes
f748e9cf   Luigi Serra   new controllet an...
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
34
35
36
37
38
39
40
41
42
43
44
45
46
  ----

  == Foobar ==

  Bar _baz_ (TM) <1>

  * Foo <2>

  <1> Foobar

  2> Baz

  ----

  

  .......

  .Foo

  . Foobar <1>

  include::addendum.txt <2>

  > Foo

  > Bar

  __Foo__**bar**{baz}

  .......

  

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

  

  [

  	["literal-block", [

  		["punctuation", "----"],

  		"\r\n== Foobar ==\r\nBar _baz_ (TM) ",

  		["callout", "<1>"],

  		"\r\n* Foo ",

  		["callout", "<2>"],

  		["callout", "<1>"], " Foobar\r\n",

  		["callout", "2>"], " Baz\r\n",

  		["punctuation", "----"]

  	]],

  	["literal-block", [

  		["punctuation", "......."],

  		"\r\n.Foo\r\n. Foobar ",

  		["callout", "<1>"],

  		"\r\ninclude::addendum.txt ",

  		["callout", "<2>"],

  		["callout", ">"], " Foo\r\n",

  		["callout", ">"], " Bar\r\n__Foo__**bar**{baz}\r\n",

  		["punctuation", "......."]

  	]]

  ]

  

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

  

  Checks for literal blocks and listing blocks.

  Also checks that nothing gets highlighted inside expect callouts.