Przeglądaj źródła

test(emphasis): change test to match original spec test

Estevão Soares dos Santos 10 lat temu
rodzic
commit
3bbe4e2ef1
2 zmienionych plików z 21 dodań i 8 usunięć
  1. 11 4
      test/cases/emphasis.html
  2. 10 4
      test/cases/emphasis.md

+ 11 - 4
test/cases/emphasis.html

@@ -1,7 +1,14 @@
-<p><em>important</em></p>
+<p><em>single asterisks</em></p>
 
-<p><em>important</em></p>
+<p><em>single underscores</em></p>
 
-<p>this mid<em>important</em>sentence</p>
+<p><strong>double asterisks</strong></p>
 
-<p>*not important*</p>
+<p><strong>double underscores</strong></p>
+
+<p>text <em>with italic sentence</em> in middle</p>
+
+<p>text <strong>with bold sentence</strong> in middle</p>
+
+<p>text with <strong>bold text that
+spans across multiple</strong> lines</p>

+ 10 - 4
test/cases/emphasis.md

@@ -1,8 +1,14 @@
+*single asterisks*
 
-*important*
+_single underscores_
 
-_important_
+**double asterisks**
 
-this mid*important*sentence
+__double underscores__
 
-\*not important\*
+text *with italic sentence* in middle
+
+text __with bold sentence__ in middle
+
+text with __bold text that
+spans across multiple__ lines