OLD | NEW |
(Empty) | |
| 1 Foo *emphasis*. |
| 2 **Strong** bar. |
| 3 This is `interpreted text`. |
| 4 :role:`interpreted text` |
| 5 `interpreted text`:role: |
| 6 ``inline literals`` |
| 7 This is a regexp: ``[+-]?(\d+(\.\d*)?|\.\d+)`` |
| 8 Usage of |substitution|. |
| 9 |
| 10 ---------------------------------------------------- |
| 11 |
| 12 [ |
| 13 "Foo ", |
| 14 ["inline", [ |
| 15 ["punctuation", "*"], ["italic", "emphasis"], ["punctuation", "*"] |
| 16 ]], |
| 17 ".\r\n", |
| 18 ["inline", [ |
| 19 ["punctuation", "**"], ["bold", "Strong"], ["punctuation", "**"] |
| 20 ]], |
| 21 " bar.\r\nThis is ", |
| 22 ["inline", [ |
| 23 ["punctuation", "`"], ["interpreted-text", "interpreted text"], ["punctu
ation", "`"] |
| 24 ]], |
| 25 ".\r\n", |
| 26 ["inline", [ |
| 27 ["role", [ |
| 28 ["punctuation", ":"], "role", ["punctuation", ":"] |
| 29 ]], |
| 30 ["punctuation", "`"], ["interpreted-text", "interpreted text"], ["punctu
ation", "`"] |
| 31 ]], |
| 32 ["inline", [ |
| 33 ["punctuation", "`"], ["interpreted-text", "interpreted text"], ["punctu
ation", "`"], |
| 34 ["role", [ |
| 35 ["punctuation", ":"], "role", ["punctuation", ":"] |
| 36 ]] |
| 37 ]], |
| 38 ["inline", [ |
| 39 ["punctuation", "``"], ["inline-literal", "inline literals"], ["punctuat
ion", "``"] |
| 40 ]], |
| 41 "\r\nThis is a regexp: ", |
| 42 ["inline", [ |
| 43 ["punctuation", "``"], ["inline-literal", "[+-]?(\\d+(\\.\\d*)?|\\.\\d+)
"], ["punctuation", "``"] |
| 44 ]], |
| 45 "\r\nUsage of ", |
| 46 ["inline", [ |
| 47 ["punctuation", "|"], ["substitution", "substitution"], ["punctuation",
"|"] |
| 48 ]], |
| 49 "." |
| 50 ] |
| 51 |
| 52 ---------------------------------------------------- |
| 53 |
| 54 Checks for most inline markup: emphasis, bold, interpreted text, |
| 55 roles, inline literals and substitutions. |
OLD | NEW |