You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know yet. If you have suggestions feel free to create an Issue or to create a PR with the feature.
150
+
## v1.2.1:
151
+
> Release date: 02/Aug/2021
152
+
* Add constructors with only single text content with default style for:
153
+
*`Paragraph.text('some text here...')`
154
+
*`ToDo.text('some text here...', checked: true)`
155
+
*`Heading.text('some text here...', type: 2)`
156
+
*`BulletedListItem.text('some text here...')`
157
+
*`NumberedListItem.text('some text here...')`
158
+
*`Toggle.text('some text here...', children: [])`
159
+
* Add more constructors for `Heading` class:
160
+
*`one`: Heading with type 1 by default.
161
+
*`two`: Heading with type 2 by default.
162
+
*`three`: Heading with type 3 by default.
163
+
* Add more constructors for `Text` class:
164
+
*`code`: Text with code style by default.
165
+
*`italic`: Text with italic style by default.
166
+
*`bold`: Text with bold style by default.
167
+
*[**Opt**]`list`: List of words separated by comma (by default).
168
+
* Example: `Text.list()` will receive a list of Text and will be concatenated separated with comma by default. **It may be unnecessary**. Can help to make the code more readable.
169
+
*[**Opt**]`sep`: Text separator.
170
+
* Example: `Text.sep()`, by default, will insert " " in a list of `Text` instances, but it will be able to do more things that I don't know yet, hehe. **It may be unnecessary**. Can help to make the code more readable.
* Add constructors with only single text content with default style for:
18
+
*`Paragraph.text('some text here...')`
19
+
*`ToDo.text('some text here...', checked: true)`
20
+
*`Heading.text('some text here...', type: 2)`
21
+
*`BulletedListItem.text('some text here...')`
22
+
*`NumberedListItem.text('some text here...')`
23
+
*`Toggle.text('some text here...', children: [])`
24
+
* Add more constructors for `Heading` class:
25
+
*`one`: Heading with type 1 by default.
26
+
*`two`: Heading with type 2 by default.
27
+
*`three`: Heading with type 3 by default.
28
+
* Add more constructors for `Text` class:
29
+
*`code`: Text with code style by default.
30
+
*`italic`: Text with italic style by default.
31
+
*`bold`: Text with bold style by default.
32
+
*[**Opt**]`list`: List of words separated by comma (by default).
33
+
* Example: `Text.list()` will receive a list of Text and will be concatenated separated with comma by default. **It may be unnecessary**. Can help to make the code more readable.
34
+
*[**Opt**]`sep`: Text separator.
35
+
* Example: `Text.sep()`, by default, will insert " " in a list of `Text` instances, but it will be able to do more things that I don't know yet, hehe. **It may be unnecessary**. Can help to make the code more readable.
0 commit comments