Skip to content

Commit 630e3bb

Browse files
committed
docs: update upgrading guide
1 parent 42f8b49 commit 630e3bb

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

packages/core/UPGRADING-TO-V4.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,25 @@ that represents Discord markdown headers (lines starting with one of `#`, `##`,
148148
or `###`). The maximum level is 3, just like it is for Discord. An error is
149149
thrown if a level lower than 1 or higher than 3 is used.
150150

151+
#### `discord-unordered-list`
152+
153+
A new component called `discord-unordered-list` has been added. This is the
154+
component that represents Discord unordered list items (messages starting with
155+
`-`). The maximum depth level on Discord is 11 but we do not force such a
156+
maximum, because we are not limited by the same MD to HTML parsing. Every item
157+
within a `discord-unordered-list` should be a `discord-list-item`.
158+
159+
#### `discord-ordered-list`
160+
161+
A new component called `discord-ordered-list` has been added. This is the
162+
component that represents Discord ordered list items (messages starting with
163+
`1.`). Every item within a `discord-unordered-list` should be a
164+
`discord-list-item`.
165+
166+
#### `discord-list-item`
167+
168+
A new component called `discord-list-item` has been added. This is the component
169+
that represents a list item within a `discord-unordered-list` or
170+
`discord-ordered-list`. It should be used within one of these components.
171+
151172
[Lit]: https://lit.dev

0 commit comments

Comments
 (0)