aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/michelf/php-markdown/test/resources/php-markdown-extra.mdtest/Emphasis.xhtml
blob: 315280f00855613cfd24e3d416a5c42f0d180c7b (plain) (blame)
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
<p>Combined emphasis:</p>

<ol>
<li><strong><em>test test</em></strong></li>
<li><strong><em>test test</em></strong></li>
<li><em>test <strong>test</strong></em></li>
<li><strong>test <em>test</em></strong></li>
<li><strong><em>test</em> test</strong></li>
<li><em><strong>test</strong> test</em></li>
<li><strong><em>test</em> test</strong></li>
<li><strong>test <em>test</em></strong></li>
<li><em>test <strong>test</strong></em></li>
<li><em>test <strong>test</strong></em></li>
<li><strong>test <em>test</em></strong></li>
<li><strong><em>test</em> test</strong></li>
<li><em><strong>test</strong> test</em></li>
<li><strong><em>test</em> test</strong></li>
<li><strong>test <em>test</em></strong></li>
<li><em>test <strong>test</strong></em></li>
<li><em>test <strong>test</strong></em></li>
<li><strong>test <em>test</em></strong></li>
<li><strong><em>test</em> test</strong></li>
<li><em><strong>test</strong> test</em></li>
<li><strong><em>test</em> test</strong></li>
<li><strong>test <em>test</em></strong></li>
<li><em>test <strong>test</strong></em></li>
<li><em>test <strong>test</strong></em></li>
<li><strong>test <em>test</em></strong></li>
<li><strong><em>test</em> test</strong></li>
<li><em><strong>test</strong> test</em></li>
<li><strong><em>test</em> test</strong></li>
<li><strong>test <em>test</em></strong></li>
<li><em>test <strong>test</strong></em></li>
</ol>

<p>Incorrect nesting:</p>

<ol>
<li>*test  <strong>test*  test</strong></li>
<li>_test  <strong>test_  test</strong></li>
<li><strong>test  *test</strong> test*</li>
<li><strong>test  _test</strong> test_</li>
<li><em>test   *test</em>  test*</li>
<li><em>test   _test</em>  test_</li>
<li><strong>test **test</strong> test**</li>
<li><strong>test __test</strong> test__</li>
<li>_<strong>some text_</strong></li>
<li>*<strong>some text*</strong></li>
<li><strong>_some text</strong>_</li>
<li>*<strong>some text*</strong></li>
</ol>

<p>No emphasis:</p>

<ol>
<li>test*  test  *test</li>
<li>test** test **test</li>
<li>test_  test  _test</li>
<li>test__ test __test</li>
</ol>

<p>Middle-word emphasis (asterisks):</p>

<ol>
<li><em>a</em>b</li>
<li>a<em>b</em></li>
<li>a<em>b</em>c</li>
<li><strong>a</strong>b</li>
<li>a<strong>b</strong></li>
<li>a<strong>b</strong>c</li>
</ol>

<p>Middle-word emphasis (underscore):</p>

<ol>
<li>_a_b</li>
<li>a_b_</li>
<li>a_b_c</li>
<li>__a__b</li>
<li>a__b__</li>
<li>a__b__c</li>
</ol>

<p>my_precious_file.txt</p>

<h2>Tricky Cases</h2>

<p>E**. <strong>Test</strong> TestTestTest</p>

<p>E**. <strong>Test</strong> Test Test Test</p>


<h2>Overlong emphasis</h2>

<p>Name: ____________<br />
Organization: ____<br />
Region/Country: __</p>

<p>_____Cut here_____</p>

<p>____Cut here____</p>


<h1>Regression</h1>

<p><em><strong>Note</strong></em>: This <em>is emphasis</em>.</p>