1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
source: src/interpreter/tests.rs
description: " --- md\n\n**bold**\n\n_italic_\n\n~~strikethrough~~\n\n<u>underline</u>\n\n\n --- html\n\n<p><strong>bold</strong></p>\n<p><em>italic</em></p>\n<p><del>strikethrough</del></p>\n<p><u>underline</u></p>\n"
expression: "interpret_md_with_opts(text, opts)"
---
[
TextBox(
TextBox {
texts: [
Text {
text: "bold",
default_color: Color(BLACK),
style: BOLD ,
..
},
],
..
},
),
Spacer(
InvisibleSpacer(5),
),
TextBox(
TextBox {
texts: [
Text {
text: "italic",
default_color: Color(BLACK),
style: ITALIC ,
..
},
],
..
},
),
Spacer(
InvisibleSpacer(5),
),
TextBox(
TextBox {
texts: [
Text {
text: "strikethrough",
default_color: Color(BLACK),
style: STRIKED ,
..
},
],
..
},
),
Spacer(
InvisibleSpacer(5),
),
TextBox(
TextBox {
texts: [
Text {
text: "underline",
default_color: Color(BLACK),
style: UNDERLINED ,
..
},
],
..
},
),
Spacer(
InvisibleSpacer(5),
),
]