Skip to content

Commit 70522b4

Browse files
Update text and images for inline markdown (#3208)
This PR updates the page https://www.elastic.co/docs/explore-analyze/visualize/text-panels to reflect the new Inline markdown editor. Relates to elastic/kibana#229191 Closes #3076 --------- Co-authored-by: florent-leborgne <[email protected]>
1 parent b916a47 commit 70522b4

File tree

5 files changed

+48
-0
lines changed

5 files changed

+48
-0
lines changed
114 KB
Loading
61.4 KB
Loading
63.1 KB
Loading
59.6 KB
Loading

explore-analyze/visualize/text-panels.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,51 @@ products:
1212

1313
To provide context to your dashboard panels, add **Text** panels that display important information, instructions, images, and more. You can create **Text** panels using GitHub-flavored Markdown text.
1414

15+
:::::{applies-switch}
16+
17+
::::{applies-item} { stack: ga 9.2, serverless: }
18+
1. From your dashboard, select **Add** => **New panel**.
19+
2. In the **Add panel** flyout, select **Markdown Text**. A Markdown editor appears and lets you configure the information you want to display.
20+
3. Enter your text, then click **Apply**.
21+
22+
While switching between **Editor** and **Preview** modes, you can keep editing your text.
23+
24+
For example, in **Editor** mode you enter:
25+
26+
:::{image} /explore-analyze/images/kibana-markdown-editor-mode.png
27+
:alt: Markdown text with links
28+
:screenshot:
29+
:width: 60%
30+
:::
31+
32+
The following instructions are displayed in **Preview** mode:
33+
34+
:::{image} /explore-analyze/images/kibana-markdown-preview-mode.png
35+
:alt: Panel with markdown link text
36+
:screenshot:
37+
:width: 60%
38+
:::
39+
40+
Or when you enter:
41+
42+
:::{image} /explore-analyze/images/kibana-markdown-editor-screenshot.png
43+
:alt: Markdown text with image file
44+
:screenshot:
45+
:width: 60%
46+
:::
47+
48+
The following image is displayed:
49+
50+
:::{image} /explore-analyze/images/kibana-markdown-preview-screenshot.png
51+
:alt: Panel with markdown image
52+
:screenshot:
53+
:width: 60%
54+
:::
55+
56+
For detailed information about writing on GitHub, click **Syntax help** on the top-right of the Markdown editor.
57+
::::
58+
59+
::::{applies-item} stack: ga 9.0
1560
1. From your dashboard, select **Add panel**.
1661
2. In the **Add panel** flyout, select **Text**. A Markdown editor appears and lets you configure the information you want to display.
1762
3. In the **Markdown** field, enter your text, then click **Update**.
@@ -48,4 +93,7 @@ The following image is displayed:
4893
:::
4994

5095
For detailed information about writing on GitHub, click **Help** on the top-right of the Markdown editor.
96+
::::
97+
98+
:::::
5199

0 commit comments

Comments
 (0)