aboutsummaryrefslogtreecommitdiffstats
path: root/tests2/php-markdown-cases-new/Emphasis.html
diff options
context:
space:
mode:
authorArtem <artem@artem.(none)>2008-06-24 20:39:50 +0500
committerArtem <artem@artem.(none)>2008-06-24 20:39:50 +0500
commit2dbfcc0c510b46c9bfa288cb370b2d4f7fe7555d (patch)
tree3c4bc7c0532b98b42f6abfb53d92dd9ef57b0a7a /tests2/php-markdown-cases-new/Emphasis.html
parenteede42cb87a74b1a91b360a218d05f9a5c703e55 (diff)
downloadmarkdown-2dbfcc0c510b46c9bfa288cb370b2d4f7fe7555d.tar.gz
markdown-2dbfcc0c510b46c9bfa288cb370b2d4f7fe7555d.tar.bz2
markdown-2dbfcc0c510b46c9bfa288cb370b2d4f7fe7555d.zip
second commit
Diffstat (limited to 'tests2/php-markdown-cases-new/Emphasis.html')
-rw-r--r--tests2/php-markdown-cases-new/Emphasis.html160
1 files changed, 160 insertions, 0 deletions
diff --git a/tests2/php-markdown-cases-new/Emphasis.html b/tests2/php-markdown-cases-new/Emphasis.html
new file mode 100644
index 0000000..85a532d
--- /dev/null
+++ b/tests2/php-markdown-cases-new/Emphasis.html
@@ -0,0 +1,160 @@
+<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>
+</ol>
+
+<p>Incorrect nesting:
+</p>
+
+<ol>
+<li>
+*test <strong>test* test</strong>
+</li>
+<li>
+_test <strong>test_ test</strong>
+</li>
+<li>
+**test <em>test</em>* test*
+</li>
+<li>
+__test <em>test</em>_ test_
+</li>
+<li>
+<em>test *test</em> test*
+</li>
+<li>
+<em>test _test</em> test_
+</li>
+<li>
+<strong>test <strong>test</strong> test</strong>
+</li>
+<li>
+<strong>test <strong>test</strong> test</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>
+<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>my<em>precious</em>file.txt
+</p>
+
+<h2>Tricky Cases</h2>
+
+<p>E**. <strong>Test</strong> TestTestTest
+</p>
+
+<p>E**. <strong>Test</strong> Test Test Test
+</p>