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
| **Warning** | You could permanently lose data or leak sensitive information. |
88
-
| **Important**| Ignoring the information could impact performance or the stability of your system.|
89
-
| **Note** | A relevant piece of information with no serious repercussions if ignored. |
90
-
| **Tip** | Advice to help you make better choices when using a feature. |
91
-
92
-
93
-
**Inline Admonition:**
94
-
```none
95
-
NOTE: This is a note.
96
-
It can be multiple lines, but not multiple paragraphs.
97
-
```
98
-
99
-
**Block Admonition:**
100
-
101
-
```none
102
-
[WARNING]
103
-
=======
104
-
This is a warning.
74
+
## Collapsible admonitions
105
75
106
-
It can contain multiple paragraphs.
107
-
=======
108
-
:::
76
+
```{tip}
77
+
Also see [dropdowns](./dropdowns.md).
109
78
```
110
79
111
-
`````
112
-
113
-
## Collapsible admonitions
80
+
Use `:open: <bool>` to make an admonition collapsible.
114
81
115
-
You can use `:open: <bool>` to make an admonition collapsible.
116
-
117
-
```none
82
+
```markdown
118
83
:::{note}
119
84
:open:
120
85
@@ -131,3 +96,26 @@ Longer content can be collapsed to take less space.
131
96
132
97
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
133
98
```
99
+
100
+
---
101
+
102
+
## Asciidoc Syntax
103
+
104
+
### Inline Admonition
105
+
106
+
```markdown
107
+
NOTE: This is a note.
108
+
It can be multiple lines, but not multiple paragraphs.
Copy file name to clipboardExpand all lines: docs/source/syntax/dropdowns.md
+19-21Lines changed: 19 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,9 @@
2
2
title: Dropdowns
3
3
---
4
4
5
-
Dropdowns allow you to hide and reveal content on user interaction.
5
+
Dropdowns allow you to hide and reveal content on user interaction. By default, dropdowns are collapsed. This hides content until a user clicks the title of the collapsible block.
6
6
7
-
### Syntax
8
-
9
-
By default, dropdowns are collapsed. This hides content until a user clicks the title of the collapsible block.
7
+
## Syntax
10
8
11
9
```markdown
12
10
:::{dropdown} Dropdown Title
@@ -18,7 +16,23 @@ Dropdown content
18
16
Dropdown content
19
17
:::
20
18
21
-
### Asciidoc syntax
19
+
### Open by default
20
+
21
+
You can specify that the dropdown content should be visible by default. Do this by specifying the `open` option. Users can collapse content by clicking on the dropdown title.
22
+
23
+
```markdown
24
+
:::{dropdown} Dropdown Title
25
+
:open:
26
+
Dropdown content
27
+
:::
28
+
```
29
+
30
+
```{dropdown} Dropdown Title
31
+
:open:
32
+
Dropdown content
33
+
```
34
+
35
+
## Asciidoc syntax
22
36
23
37
```asciidoc
24
38
.The `elasticsearch-setup-passwords` tool is deprecated.
@@ -39,19 +53,3 @@ starting {es}, it will fail because the `elastic`
39
53
user password is already configured.
40
54
====
41
55
```
42
-
43
-
### Open by default
44
-
45
-
You can also specify that the content should be visible by default, but can also be collapsed by the user. Do this by specifying the `open` option.
Copy file name to clipboardExpand all lines: docs/source/syntax/links.md
+29-1Lines changed: 29 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,4 +2,32 @@
2
2
title: Links
3
3
---
4
4
5
-
tbd
5
+
A link contains link text (the visible text) and a link destination (the URI that is the link destination). The link text can include inline elements.
6
+
7
+
## Inline link
8
+
9
+
```
10
+
[Link title](links.md)
11
+
```
12
+
13
+
[Link title](links.md)
14
+
15
+
```
16
+
[**Hi**, _I'm md_](links.md)
17
+
```
18
+
19
+
[**Hi**, _I'm md_](links.md)
20
+
21
+
## Anchor link
22
+
23
+
You can link to a heading on a page with an anchor link. The link destination should be a `#` followed by the header text. Convert spaces to dashes (`-`).
24
+
25
+
```
26
+
I link to the [Inline link](#inline-link) heading above.
27
+
```
28
+
29
+
I link to the [Inline link](#inline-link) heading above.
30
+
31
+
```
32
+
I link to the [Notes](tables.md#notes) heading on the [Tables](tables.md) page.
0 commit comments