Skip to content

Commit 7b8bce0

Browse files
committed
feat: add new lorem max word limit docs to emmet
1 parent 451a6e2 commit 7b8bce0

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

docs/08-Features/03-emmet.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ title: Emmet
55
import React from 'react';
66
import VideoPlayer from '@site/src/components/Video/player';
77

8-
**Emmet** helps you quickly expand shorthand abbreviations into full code blocks. When you type an Emmet-compatible abbreviation, **Phoenix Code Editor** displays a code hint with the abbreviation text and a small `Emmet` icon on the right, indicating that the hint comes from Emmet. Selecting the hint expands it into a complete code snippet.
8+
**Emmet** helps you quickly expand shorthand abbreviations into full code blocks. When you type an Emmet-compatible abbreviation, **Phoenix Code** displays a code hint with the abbreviation text and a small `Emmet` icon on the right, indicating that the hint comes from Emmet. Selecting the hint expands it into a complete code snippet.
99

10-
**Phoenix Code Editor** includes smart cursor positioning. After expanding an Emmet abbreviation, it automatically places the cursor at the most relevant position so you can start typing immediately. It also adjusts the indentation of the expanded code automatically.
10+
**Phoenix Code** includes smart cursor positioning. After expanding an Emmet abbreviation, it automatically places the cursor at the most relevant position so you can start typing immediately. It also adjusts the indentation of the expanded code automatically.
1111
> See the [complete Emmet abbreviations cheat sheet](https://docs.emmet.io/cheat-sheet/).
1212
1313
### Emmet in Markup Languages
@@ -79,10 +79,12 @@ See [Editing Preferences](../03-editing-text.md#editing-preferences) for more de
7979

8080
#### Q. What happens if I try to expand a very large abbreviation?
8181

82-
**Phoenix Code Editor** supports large Emmet expansions but applies limits to keep the app stable.
82+
**Phoenix Code** supports large Emmet expansions but applies limits to keep the app stable.
83+
84+
- **Maximum repeat count:** 400
85+
Example: `ul>li*10000` creates at most **400** `li` elements.
8386

8487
- **Maximum word expansion:** 100,000 words
85-
Example: `lorem*100000000` expands only to **100,000** words.
88+
Example: **Phoenix Code** sets a limit of **100,000** words. The hint will not appear if the abbreviation exceeds this limit. `lorem100000` works but `lorem100001` does not.
89+
8690

87-
- **Maximum repeat count:** 400
88-
Example: `ul>li*10000` creates **400** list items at most.

0 commit comments

Comments
 (0)