| 1 | [ |
| 2 | { |
| 3 | "text": "**Bold** and *it*", |
| 4 | "html": "<strong>Bold</strong> and <em>it</em>" |
| 5 | }, |
| 6 | { |
| 7 | "text": "*soon*, _later_ and **now**!", |
| 8 | "html": "<em>soon</em>, <em>later</em> and <strong>now</strong>!" |
| 9 | }, |
| 10 | { |
| 11 | "text": "Two lines\nhere, 2*3 and a_b_c", |
| 12 | "html": "Two lines\nhere, 2*3 and a_b_c" |
| 13 | }, |
| 14 | { |
| 15 | "text": "2*3*4", |
| 16 | "html": "2*3*4" |
| 17 | }, |
| 18 | { |
| 19 | "text": "2*3 and 4*5, a*b + c*d", |
| 20 | "html": "2*3 and 4*5, a*b + c*d" |
| 21 | }, |
| 22 | { |
| 23 | "text": "x**2 + y**2", |
| 24 | "html": "x**2 + y**2" |
| 25 | }, |
| 26 | { |
| 27 | "text": "__init__.py and my_file_name.txt", |
| 28 | "html": "__init__.py and my_file_name.txt" |
| 29 | }, |
| 30 | { |
| 31 | "text": "f(*args) and g(*rest)", |
| 32 | "html": "f(*args) and g(*rest)" |
| 33 | }, |
| 34 | { |
| 35 | "text": "word*not*emphasis and *also*not", |
| 36 | "html": "word*not*emphasis and *also*not" |
| 37 | }, |
| 38 | { |
| 39 | "text": "_private_ var and **kwargs", |
| 40 | "html": "<em>private</em> var and **kwargs" |
| 41 | }, |
| 42 | { |
| 43 | "text": "1986. A great year", |
| 44 | "html": "1986. A great year" |
| 45 | }, |
| 46 | { |
| 47 | "text": "3. Third\n4. Fourth", |
| 48 | "html": "<ol start=\"3\"><li>Third</li><li>Fourth</li></ol>" |
| 49 | }, |
| 50 | { |
| 51 | "text": "Not code:\n indented four\n\tand a tab", |
| 52 | "html": "Not code:\n indented four\n\tand a tab" |
| 53 | }, |
| 54 | { |
| 55 | "text": "# Not a heading\n> not a quote\n---\n+ not a bullet\nAT&T <b>x</b>", |
| 56 | "html": "# Not a heading\n> not a quote\n---\n+ not a bullet\nAT&amp;T <b>x</b>" |
| 57 | }, |
| 58 | { |
| 59 | "text": "Shopping:\n- [Menu](https://fennel.example/menu)\n- [x](javascript:alert(1))", |
| 60 | "html": "Shopping:<ul><li><a href=\"https://fennel.example/menu\" target=\"_blank\" rel=\"noopener\">Menu</a></li><li>[x](javascript:alert(1))</li></ul>" |
| 61 | }, |
| 62 | { |
| 63 | "text": "See https://fennel.example/menu.", |
| 64 | "html": "See <a href=\"https://fennel.example/menu\" target=\"_blank\" rel=\"noopener\">https://fennel.example/menu</a>." |
| 65 | } |
| 66 | ] |
| 67 | |