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
Copy file name to clipboardExpand all lines: docs/08-Features/03-emmet.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,9 @@ title: Emmet
5
5
import React from 'react';
6
6
import VideoPlayer from '@site/src/components/Video/player';
7
7
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.
9
9
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.
11
11
> See the [complete Emmet abbreviations cheat sheet](https://docs.emmet.io/cheat-sheet/).
12
12
13
13
### Emmet in Markup Languages
@@ -79,10 +79,12 @@ See [Editing Preferences](../03-editing-text.md#editing-preferences) for more de
79
79
80
80
#### Q. What happens if I try to expand a very large abbreviation?
81
81
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.
83
86
84
87
- **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
+
86
90
87
-
- **Maximum repeat count:** 400
88
-
Example: `ul>li*10000` creates **400** list items at most.
0 commit comments