summaryrefslogtreecommitdiff
path: root/tests/snippets/markdown/test_invalid_code.txt
blob: bf6cb93139ffd42d6b2a6fd1f7267ecbc78a7954 (plain)
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
47
48
49
50
51
52
---input---
Invalid code blocks:

```code```

prefix not allowed before ```
code block
```

   code

---tokens---
'Invalid'     Text
' '           Text
'code'        Text
' '           Text
'blocks:'     Text
'\n'          Text.Whitespace

'\n'          Text.Whitespace

'```code```'  Text
'\n'          Text.Whitespace

'\n'          Text.Whitespace

'prefix'      Text
' '           Text
'not'         Text
' '           Text
'allowed'     Text
' '           Text
'before'      Text
' '           Text
'```'         Text
'\n'          Text.Whitespace

'code'        Text
' '           Text
'block'       Text
'\n'          Text.Whitespace

'```'         Text
'\n'          Text.Whitespace

'\n'          Text.Whitespace

' '           Text
' '           Text
' '           Text
'code'        Text
'\n'          Text.Whitespace