Skip to content

Commit e056451

Browse files
committed
fix: codeacy analysis failing due to some minor spacing line break inconsistencies
1 parent 2e96f6a commit e056451

16 files changed

Lines changed: 108 additions & 128 deletions

.markdownlint.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"MD013": false,
3-
"MD025": false
3+
"MD025": false,
4+
"MD033": false
45
}

docs/02-Live Preview/02-live-preview-edit.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ When you click an element in the Live Preview, a **Control Box** appears near it
6161
### Element Info
6262

6363
The left side of the Control Box displays information about the selected element:
64+
6465
- **Tag name**: The element type (for example, `div`, `p`, `img`)
6566
- **ID**: The element’s ID attribute (if present), shown with a `#` prefix
6667
- **Dimensions**: The element’s size in pixels (width × height)
@@ -200,13 +201,15 @@ When you start editing text, a **Formatting Toolbar** appears near the element.
200201
Select the text you want to format and click a formatting button, or use the keyboard shortcut. If no text is selected, the formatting is applied to the entire element. Clicking a format that is already applied removes it.
201202

202203
The toolbar shows three primary formatting buttons:
204+
203205
- **Bold** (`Ctrl/Cmd + B`): `<b>` tag
204206
- **Italic** (`Ctrl/Cmd + I`): `<i>` tag
205207
- **Underline** (`Ctrl/Cmd + U`): `<u>` tag
206208

207209
#### More Formatting Options
208210

209211
Click the **More** button *(three-dots icon)* on the right side of the toolbar to see additional formatting options:
212+
210213
- **Strikethrough**: `<s>` tag
211214
- **Subscript**: `<sub>` tag
212215
- **Superscript**: `<sup>` tag
@@ -224,11 +227,12 @@ To drag an element: click and hold the element, then move your mouse to the desi
224227
src="https://docs-images.phcode.dev/videos/live-preview-edit/drag-drop.mp4"
225228
/>
226229

227-
#### Visual Indicators
230+
### Visual Indicators
231+
228232
- **Arrow markers** to indicate the drop position:
229-
- **Up (↑) or Down (↓) arrows**: Places the element before or after the target element
230-
- **Left (←) or Right (→) arrows**: Places the element before or after the target element (appears for flex row layouts)
231-
- **⊕ symbol with a dashed border**: Places the element inside the target as a child
233+
- **Up (↑) or Down (↓) arrows**: Places the element before or after the target element
234+
- **Left (←) or Right (→) arrows**: Places the element before or after the target element (appears for flex row layouts)
235+
- **⊕ symbol with a dashed border**: Places the element inside the target as a child
232236

233237
- **Target label**: A small box next to the marker displays the target element's tag name, ID, and classes
234238

@@ -261,11 +265,13 @@ You can cut, copy, and paste elements in Edit Mode using standard keyboard short
261265
### Using Keyboard Shortcuts
262266

263267
When you click an element in the Live Preview, keyboard focus moves to the Live Preview. You can then use:
268+
264269
- **Ctrl/Cmd + X**: Cut the selected element
265270
- **Ctrl/Cmd + C**: Copy the selected element
266271
- **Ctrl/Cmd + V**: Paste the copied or cut element below the currently selected element
267272

268273
### Using the More Options Menu
274+
269275
![More Options dropdown](../images/pro/more-options-dropdown.png "More Options Dropdown")
270276

271277
Click the **More Options** button *(three-dots icon)* in the Control Box and select **Cut**, **Copy**, or **Paste** from the dropdown menu.

docs/02-Live Preview/03-styles-bar.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ You can move the bar to the top of the Live Preview using the **dock button** at
2323
Phoenix Code gives you control to choose where you want to save your edits. By default, all the changes are saved directly on the element as an inline style. If you want to save the changes in one of the CSS rules, you can click on the **Save changes to** button:
2424
<!-- TODO: PLUTO - add image here showing the save changes to button -->
2525

26-
It shows all the available selectors for that element. Select the one you want, and all the changes made to that element will automatically get saved in that selector.
26+
It shows all the available selectors for that element. Select the one you want, and all the changes made to that element will automatically get saved in that selector.
2727
> Each selector also shows the number of elements it affects on the page.
2828
2929
<!-- TODO: PLUTO - add image here showing the affects x elements -->
@@ -183,4 +183,3 @@ You can also undo any Styles Bar edit with `Ctrl/Cmd + Z`, like every other Edit
183183
## Hiding the Styles Bar
184184

185185
To hide the bar, open the **More Options** menu *(three-dots icon)* in the Control Box and unselect **Show Styles Bar**. While hidden, a **palette icon** appears in the Control Box tools to bring it back.
186-

docs/02-Live Preview/04-device-preview.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,3 @@ While you drag the edge of the Live Preview panel, a ruler appears across the to
4444

4545
In [Design Mode](./live-preview-edit), the Live Preview takes over the full window. In that case, you'll see resize handles directly on the page: drag the left or right handle to change the **width**, or drag the bottom handle to change the **height**. The same ruler appears, and the label now shows both dimensions, like `iPad Mini — 768px × 1024px`.
4646
In Design Mode, a **Fit to screen** option is also available in the device dropdown. This resizes the page to fit the available space in the Live Preview.
47-
48-

docs/02-Live Preview/05-measurements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ While in [Edit Mode](./live-preview-edit), click the dropdown arrow next to the
2222

2323
Alternatively, you can enable measurements from the **More Options** menu *(three-dots icon)* in the Control Box. Select **Show Measurements** to toggle it on or off.
2424

25-
You can also change this setting by updating the `livePreviewShowMeasurements` preference in the preferences file. Set it to `true` or `false` (default).
25+
You can also change this setting by updating the `livePreviewShowMeasurements` preference in the preferences file. Set it to `true` or `false` (default).
2626
See [Editing Preferences](../editing-text#editing-preferences) to learn how to edit the preferences file.

docs/02-Live Preview/06-image-gallery.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ To download the image to your project instead, click the **Download image** butt
3333

3434
> If this is your first time selecting an image, Phoenix Code prompts you to choose a folder where images should be saved. See [Folder Selection Dialog](#folder-selection-dialog) for details.
3535
36-
> Images are embedded or downloaded at the currently selected size. See [Image Size Selection](#image-size-selection) for details.
36+
> Images are embedded or downloaded at the currently selected size. See [Image Size Selection](#image-size-selection) for details.
3737
3838
Below each thumbnail, the photographer's name and a link to their profile is displayed.
3939

@@ -53,6 +53,7 @@ If no folder has been selected yet, Phoenix Code prompts you to choose where the
5353
The first time you select an image, Phoenix Code prompts you to choose where images should be saved in your project.
5454

5555
The dialog includes:
56+
5657
- **Folder path input**: Enter a folder path relative to your project root. Phoenix Code suggests matching folders as you type.
5758
- **Remember this folder for this project**: When checked (default), Phoenix Code reuses this folder for future image downloads in the same project.
5859

@@ -72,13 +73,14 @@ Hovering over a thumbnail displays the estimated file size in the top-left corne
7273
> Higher resolutions produce larger image files. Standard (1080px) is the default size.
7374
7475
### Available Image size options
75-
* Thumbnail (200px)
76-
* Avatar (320px)
77-
* Card (640px)
78-
* Content (960px)
79-
* Standard (1080px)
80-
* Hero (1280px)
81-
* Banner (1600px)
82-
* Retina (2200px)
76+
77+
- Thumbnail (200px)
78+
- Avatar (320px)
79+
- Card (640px)
80+
- Content (960px)
81+
- Standard (1080px)
82+
- Hero (1280px)
83+
- Banner (1600px)
84+
- Retina (2200px)
8385

8486
![Image size dropdown](../images/pro/image-size-dropdown.png "Image size dropdown")

docs/02-Live Preview/07-markdown-editor.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@ Start typing to filter the list. Use the arrow keys to navigate and press `Enter
101101

102102
You can also use standard Markdown shortcuts as you type:
103103

104-
- `# ` through `##### ` for headings
105-
- `- ` or `* ` for bullet lists
106-
- `1. ` for numbered lists
107-
- `- [ ] ` for task lists
108-
- `> ` for blockquotes
104+
- `#` through `#####` for headings
105+
- `-` or `*` for bullet lists
106+
- `1.` for numbered lists
107+
- `- [ ]` for task lists
108+
- `>` for blockquotes
109109
- ` ``` ` for code blocks
110110
- `---` for dividers
111111

@@ -161,7 +161,7 @@ Click an existing link to see a popover showing the URL, with options to **Edit*
161161
### Keyboard Shortcuts
162162

163163
| Action | Shortcut |
164-
|--------|----------|
164+
| -------- | ---------- |
165165
| Bold | `Ctrl/Cmd + B` |
166166
| Italic | `Ctrl/Cmd + I` |
167167
| Underline | `Ctrl/Cmd + U` |

docs/02-Live Preview/08-php-live-preview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@ Your Live Preview should now automatically update to reflect changes whenever PH
6969

7070
## PHP Live Preview in Action
7171

72-
<VideoPlayer
72+
<VideoPlayer
7373
src="https://docs-images.phcode.dev/videos/phplp/phplivepreview.mp4"
74-
/>
74+
/>

docs/02-Live Preview/09-live-preview-settings.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ There are two ways to access the Live Preview Settings dialog:
1616

1717
![live-preview-settings](../images/livePreview/settings-menu.png)
1818

19-
2. **From the Live Preview Panel**:
19+
1. **From the Live Preview Panel**:
2020
- Locate the live preview panel, typically found at the right side of the editor.
2121
- Hover over the live preview panel title bar and click the gear icon (⚙️) located at the top right of the panel title bar.
2222

2323
![live-preview-settings](../images/livePreview/settings-gear.png)
24+
2425
## Configuring Your Server
2526

2627
![settings-dialog](../images/livePreview/settings-dialog.png)
@@ -31,11 +32,11 @@ Within the Live Preview Settings dialog, you can configure the following options
3132

3233
- **Use Custom Development Server for This Project**: Enable this option to use your custom server for the live preview.
3334

34-
- **Server URL**: Enter the full URL where your server is running, including the port number (e.g., `http://localhost:8000`).
35+
- **Server URL**: Enter the full URL where your server is running, including the port number (e.g., `http://localhost:8000`).
3536

36-
- **Serving Folder in Project**: Specify the path to the folder in your project that your server serves (e.g., `www/`, default is `/`, ie the full project is assumed to be served by the given server).
37+
- **Serving Folder in Project**: Specify the path to the folder in your project that your server serves (e.g., `www/`, default is `/`, ie the full project is assumed to be served by the given server).
3738

38-
- **Server Framework**: Choose the framework or environment your server uses from the dropdown menu. If your server supports hot reloading, check the corresponding box to enable this feature. Currently 2 options are supported- [Docusaurus](https://docusaurus.io/) and `Custom`. Select `Custom` for all frameworks that are not `Docusaurus`.
39+
- **Server Framework**: Choose the framework or environment your server uses from the dropdown menu. If your server supports hot reloading, check the corresponding box to enable this feature. Currently 2 options are supported- [Docusaurus](https://docusaurus.io/) and `Custom`. Select `Custom` for all frameworks that are not `Docusaurus`.
3940

4041
After configuring these settings, click 'Done' to save and apply your settings. The live preview will now use your custom server.
4142

docs/03-ai.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ Click the **gear icon** in the chat panel to open AI settings.
158158
![AI settings button](./images/pro/ai-settings.png "AI settings button")
159159

160160
This will open a dialog where you can:
161+
161162
- Pick the **active provider** from a dropdown at the top
162163
- Add a custom API provider with a name, API key (masked), and base URL
163164
- Edit or delete any custom provider you've added
@@ -188,7 +189,7 @@ This turns off everything: the AI tab in the sidebar and the chat panel. To get
188189
## Keyboard Shortcuts
189190

190191
| Action | Shortcut |
191-
|--------|----------|
192+
| -------- | ---------- |
192193
| Send message | `Enter` |
193194
| New line | `Shift + Enter` |
194195
| Cycle permission mode | `Shift + Tab` |

0 commit comments

Comments
 (0)