summaryrefslogtreecommitdiff
path: root/macros/generic/markdown/tests/testfiles/PHP_Markdown/emphasis.test
blob: ed36492e09e7d2f0c942af35ea366e534e0230e7 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
<<<
Combined emphasis:

1.  ***test test***
2.  ___test test___
3.  *test **test***
4.  **test *test***
5.  ***test* test**
6.  ***test** test*
7.  ***test* test**
8.  **test *test***
9.  *test **test***
10. _test __test___
11. __test _test___
12. ___test_ test__
13. ___test__ test_
14. ___test_ test__
15. __test _test___
16. _test __test___


Incorrect nesting:

1.  *test  **test*  test**
2.  _test  __test_  test__
3.  **test  *test** test*
4.  __test  _test__ test_
5.  *test   *test*  test*
6.  _test   _test_  test_
7.  **test **test** test**
8.  __test __test__ test__



No emphasis:

1.  test*  test  *test
2.  test** test **test
3.  test_  test  _test
4.  test__ test __test



Middle-word emphasis (asterisks):

1.  *a*b
2.   a*b*
3.   a*b*c
4. **a**b
5.   a**b**
6.   a**b**c


Middle-word emphasis (underscore):

1.  _a_b
2.   a_b_
3.   a_b_c
4. __a__b
5.   a__b__
6.   a__b__c

my_precious_file.txt


## Tricky Cases

E**. **Test** TestTestTest

E**. **Test** Test Test Test


## Overlong emphasis

Name: ____________
Organization: ____
Region/Country: __

_____Cut here_____

____Cut here____

>>>
interblockSeparator
olBeginTight
olItemWithNumber: 1
strongEmphasis: (emphasis: test test)
olItemEnd
olItemWithNumber: 2
strongEmphasis: (emphasis: test test)
olItemEnd
olItemWithNumber: 3
emphasis: test (strongEmphasis: test)
olItemEnd
olItemWithNumber: 4
strongEmphasis: test (emphasis: test)
olItemEnd
olItemWithNumber: 5
strongEmphasis: (emphasis: test) test
olItemEnd
olItemWithNumber: 6
emphasis: (strongEmphasis: test) test
olItemEnd
olItemWithNumber: 7
strongEmphasis: (emphasis: test) test
olItemEnd
olItemWithNumber: 8
strongEmphasis: test (emphasis: test)
olItemEnd
olItemWithNumber: 9
emphasis: test (strongEmphasis: test)
olItemEnd
olItemWithNumber: 10
emphasis: test (strongEmphasis: test)
olItemEnd
olItemWithNumber: 11
strongEmphasis: test (emphasis: test)
olItemEnd
olItemWithNumber: 12
strongEmphasis: (emphasis: test) test
olItemEnd
olItemWithNumber: 13
emphasis: (strongEmphasis: test) test
olItemEnd
olItemWithNumber: 14
strongEmphasis: (emphasis: test) test
olItemEnd
olItemWithNumber: 15
strongEmphasis: test (emphasis: test)
olItemEnd
olItemWithNumber: 16
emphasis: test (strongEmphasis: test)
olItemEnd
olEndTight
interblockSeparator
interblockSeparator
olBeginTight
olItemWithNumber: 1
strongEmphasis: test* test
olItemEnd
olItemWithNumber: 2
underscore
strongEmphasis: test(underscore) test
olItemEnd
olItemWithNumber: 3
emphasis: (emphasis: test (emphasis: test)) test
olItemEnd
olItemWithNumber: 4
emphasis: (emphasis: test (emphasis: test)) test
olItemEnd
olItemWithNumber: 5
emphasis: test (emphasis: test) test
olItemEnd
olItemWithNumber: 6
emphasis: test (emphasis: test) test
olItemEnd
olItemWithNumber: 7
strongEmphasis: test (strongEmphasis: test) test
olItemEnd
olItemWithNumber: 8
strongEmphasis: test (strongEmphasis: test) test
olItemEnd
olEndTight
interblockSeparator
interblockSeparator
olBeginTight
olItemWithNumber: 1
olItemEnd
olItemWithNumber: 2
emphasis: * test *
olItemEnd
olItemWithNumber: 3
underscore
underscore
olItemEnd
olItemWithNumber: 4
emphasis: (underscore) test (underscore)
olItemEnd
olEndTight
interblockSeparator
interblockSeparator
olBeginTight
olItemWithNumber: 1
emphasis: a
olItemEnd
olItemWithNumber: 2
emphasis: b
olItemEnd
olItemWithNumber: 3
emphasis: b
olItemEnd
olItemWithNumber: 4
strongEmphasis: a
olItemEnd
olItemWithNumber: 5
strongEmphasis: b
olItemEnd
olItemWithNumber: 6
strongEmphasis: b
olItemEnd
olEndTight
interblockSeparator
interblockSeparator
olBeginTight
olItemWithNumber: 1
emphasis: a
olItemEnd
olItemWithNumber: 2
emphasis: b
olItemEnd
olItemWithNumber: 3
emphasis: b
olItemEnd
olItemWithNumber: 4
strongEmphasis: a
olItemEnd
olItemWithNumber: 5
strongEmphasis: b
olItemEnd
olItemWithNumber: 6
strongEmphasis: b
olItemEnd
olEndTight
interblockSeparator
emphasis: precious
interblockSeparator
headingTwo: Tricky Cases
interblockSeparator
strongEmphasis: Test
interblockSeparator
strongEmphasis: Test
interblockSeparator
headingTwo: Overlong emphasis
interblockSeparator
underscore
underscore
underscore
underscore
underscore
underscore
underscore
underscore
underscore
underscore
underscore
underscore
underscore
underscore
underscore
underscore
underscore
underscore
interblockSeparator
underscore
underscore
underscore
underscore
underscore
underscore
underscore
underscore
underscore
underscore
interblockSeparator
underscore
underscore
underscore
underscore
underscore
underscore
underscore
underscore