OLD | NEW |
(Empty) | |
| 1 **foobar** |
| 2 **foo |
| 3 bar** |
| 4 __foobar__ |
| 5 __foo |
| 6 bar__ |
| 7 |
| 8 __foo*bar*baz__ |
| 9 __foo_bar_baz__ |
| 10 __foo[bar](baz)__ |
| 11 |
| 12 ---------------------------------------------------- |
| 13 |
| 14 [ |
| 15 ["bold", [ |
| 16 ["punctuation", "**"], |
| 17 "foobar", |
| 18 ["punctuation", "**"] |
| 19 ]], |
| 20 ["bold", [ |
| 21 ["punctuation", "**"], |
| 22 "foo\r\nbar", |
| 23 ["punctuation", "**"] |
| 24 ]], |
| 25 ["bold", [ |
| 26 ["punctuation", "__"], |
| 27 "foobar", |
| 28 ["punctuation", "__"] |
| 29 ]], |
| 30 ["bold", [ |
| 31 ["punctuation", "__"], |
| 32 "foo\r\nbar", |
| 33 ["punctuation", "__"] |
| 34 ]], |
| 35 |
| 36 ["bold", [ |
| 37 ["punctuation", "__"], |
| 38 "foo", |
| 39 ["italic", [ |
| 40 ["punctuation", "*"], |
| 41 "bar", |
| 42 ["punctuation", "*"] |
| 43 ]], |
| 44 "baz", |
| 45 ["punctuation", "__"] |
| 46 ]], |
| 47 ["bold", [ |
| 48 ["punctuation", "__"], |
| 49 "foo", |
| 50 ["italic", [ |
| 51 ["punctuation", "_"], |
| 52 "bar", |
| 53 ["punctuation", "_"] |
| 54 ]], |
| 55 "baz", |
| 56 ["punctuation", "__"] |
| 57 ]], |
| 58 ["bold", [ |
| 59 ["punctuation", "__"], |
| 60 "foo", |
| 61 ["url", [ |
| 62 "[bar](baz)" |
| 63 ]], |
| 64 ["punctuation", "__"] |
| 65 ]] |
| 66 ] |
| 67 |
| 68 ---------------------------------------------------- |
| 69 |
| 70 Checks for bold. Also tests for inclusion of italic and url. |
OLD | NEW |