Blame view

bower_components/prism/tests/languages/latex/cdata_feature.test 719 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
  \begin{verbatim*}

  Foo bar

  \end{verbatim*}

  

  \begin{lstlisting}

  Foo bar

  baz

  \end{lstlisting}

  

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

  

  [

  	["function", "\\begin"], ["punctuation", "{"],

  	["keyword", "verbatim*"], ["punctuation", "}"],

  	["cdata", "\r\nFoo bar\r\n"],

  	["function", "\\end"], ["punctuation", "{"],

  	["keyword", "verbatim*"], ["punctuation", "}"],

  

  	["function", "\\begin"], ["punctuation", "{"],

  	["keyword", "lstlisting"], ["punctuation", "}"],

  	["cdata", "\r\nFoo bar\r\nbaz\r\n"],

  	["function", "\\end"], ["punctuation", "{"],

  	["keyword", "lstlisting"], ["punctuation", "}"]

  ]

  

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

  

  Checks for verbatim environment.