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/07-Pro Features/04-markdown-editor.md
+21-10Lines changed: 21 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,21 +2,26 @@
2
2
title: Markdown Editor
3
3
---
4
4
5
+
import React from 'react';
6
+
import VideoPlayer from '@site/src/components/Video/player';
7
+
5
8
:::info Pro Feature
6
9
[Upgrade to Phoenix Code Pro](https://phcode.io/pricing) to access this feature.
7
10
:::
8
11
9
12
Phoenix Code supports a full rich text editing experience for Markdown files, right inside the Live Preview. Format text, build tables, drop in images, add links, use slash commands, and watch every change sync back to your source code instantly.
10
13
11
-
<!-- Add an image here showing the Markdown Editor in edit mode with the toolbar visible -->
To start editing, click the **Edit** button on the right side of the markdown toolbar. The toolbar expands to show formatting options, and you can start making changes right away.
16
21
17
22
To go back to the read-only view, click **Reader** in the same place.
18
23
19
-
<!-- Add an image here showing the Edit button in the toolbar -->
24
+

20
25
21
26
> By default, markdown files open in Edit mode for **Phoenix Code Pro** users.
22
27
@@ -28,7 +33,9 @@ Scrolling in either view does the same: the other view follows along to keep you
28
33
29
34
Use the **cursor sync** button in the toolbar to toggle this behavior on or off.
30
35
31
-
<!-- Add an image here showing the cursor sync button in the toolbar -->
@@ -42,7 +49,7 @@ Select the text you want to format and click a formatting button, or use the key
42
49
43
50
You can also select text and use the **floating format bar** that appears near your selection.
44
51
45
-
<!-- Add an image here showing the floating format bar appearing above selected text -->
52
+

46
53
47
54
## Blocks and Lists
48
55
@@ -54,13 +61,13 @@ The toolbar lets you change the current block type using a **block type dropdown
54
61
-**Table** (see [Table Editing](#table-editing))
55
62
-**Mermaid diagram** with a syntax editor and live rendered preview
56
63
57
-
<!-- Add an image here showing the block type dropdown with heading options -->
64
+

58
65
59
66
## Slash Menu
60
67
61
68
Type `/` at the start of an empty line to open the **Slash Menu**. This gives you a quick way to insert any block type without reaching for the toolbar.
62
69
63
-
<!-- Add an image here showing the Slash Menu with the list of available items -->
70
+

64
71
65
72
Start typing to filter the list. Use the arrow keys to navigate and press `Enter` to insert.
66
73
@@ -91,7 +98,9 @@ Right-click a cell to open a context menu with options to:
91
98
92
99
You can also click the **+ New row** button below the table to add a row.
93
100
94
-
<!-- Add an image here showing the table context menu with row and column options -->
@@ -102,17 +111,19 @@ You can add images in two ways:
102
111
103
112
Both options are available from the **Image** button in the toolbar or through the [Slash Menu](#slash-menu).
104
113
105
-
Click an image in the editor to see a popover with **Edit** and **Delete** buttons.
114
+

106
115
107
-
<!-- Add an image here showing the image popover with Edit and Delete buttons-->
116
+
Click an image in the editor to see a popover with **Edit** and **Delete** buttons.
108
117
109
118
## Links
110
119
111
120
To add a link, select some text and click the **Link** button in the toolbar (or press `Ctrl/Cmd + K`). Enter the URL in the floating input that appears and press `Enter`.
112
121
113
122
Click an existing link to see a popover showing the URL, with options to **Edit** or **Remove** the link.
114
123
115
-
<!-- Add an image here showing the link popover with the URL, Edit button, and Remove button -->
0 commit comments