diff options
Diffstat (limited to 'macros/generic/markdown/tests/testfiles/PHP_Markdown/emphasis.test')
-rw-r--r-- | macros/generic/markdown/tests/testfiles/PHP_Markdown/emphasis.test | 272 |
1 files changed, 272 insertions, 0 deletions
diff --git a/macros/generic/markdown/tests/testfiles/PHP_Markdown/emphasis.test b/macros/generic/markdown/tests/testfiles/PHP_Markdown/emphasis.test new file mode 100644 index 0000000000..ed36492e09 --- /dev/null +++ b/macros/generic/markdown/tests/testfiles/PHP_Markdown/emphasis.test @@ -0,0 +1,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 |