@@ -69,11 +69,14 @@ These examples show the syntax first, followed by the rendered admonition.
69
69
::::
70
70
71
71
** DOs** <br >
72
- ✅ Use custom admonitions as needed
72
+ ✅ ** Do: ** Use custom admonitions as needed
73
73
74
74
** DON'Ts** <br >
75
- ❌ Stack admonitions<br >
76
- ❌ Overload a page with too many admonitions<br >
75
+ ❌ ** Don't:** Stack admonitions<br >
76
+ ❌ ** Don't:** Overload a page with too many admonitions
77
+
78
+ [ More details: Admonitions →] ( admonitions.md )
79
+ <br >
77
80
<br >
78
81
79
82
---
@@ -97,11 +100,11 @@ A default anchor is automatically created for each [heading](#headings), in the
97
100
:::
98
101
99
102
** DOs** <br >
100
- ✅ Create custom anchors for repeated structural headings like "Example request"<br >
103
+ ✅ ** Do: ** Create custom anchors for repeated structural headings like "Example request"<br >
101
104
102
105
** DON'Ts** <br >
103
- ❌ Include punctuation marks in custom anchors<br >
104
- ❌ Define custom anchors in text that is not a heading
106
+ ❌ ** Don't: ** Include punctuation marks in custom anchors<br >
107
+ ❌ ** Don't: ** Define custom anchors in text that is not a heading
105
108
106
109
[ More details: Links →] ( links.md#same-page-links-anchors )
107
110
<br >
@@ -142,14 +145,14 @@ The `applies_to` tags are scope signals for readers, not comprehensive metadata.
142
145
% TODO restore details when guidance has settled
143
146
144
147
** DOs** <br >
145
- ✅ Define a set of [ page-level tags] ( applies.md#page-annotations ) in a front matter block<br >
146
- ✅ Add section-level tags in an ` {applies_to} ` [ directive] ( applies.md#sections ) after a heading<br >
147
- ✅ Indicate versions (` major.minor ` with an optional ` [.patch] ` ) and release phases like ` beta `
148
+ ✅ ** Do: ** Define a set of [ page-level tags] ( applies.md#page-annotations ) in a front matter block<br >
149
+ ✅ ** Do: ** Add section-level tags in an ` {applies_to} ` [ directive] ( applies.md#sections ) after a heading<br >
150
+ ✅ ** Do: ** Indicate versions (` major.minor ` with an optional ` [.patch] ` ) and release phases like ` beta `
148
151
149
152
** DON'Ts** <br >
150
- ❌ Include ` applies_to ` tags in admonitions<br >
151
- ❌ Add ` applies_to ` tags to general, broadly applicable content<br >
152
- ❌ Use ` Coming (x.x.x) ` tags, except in special cases (don't pre-announce features)
153
+ ❌ ** Don't: ** Include ` applies_to ` tags in admonitions<br >
154
+ ❌ ** Don't: ** Add ` applies_to ` tags to general, broadly applicable content<br >
155
+ ❌ ** Don't: ** Use ` Coming (x.x.x) ` tags, except in special cases (don't pre-announce features)
153
156
<br >
154
157
<br >
155
158
@@ -177,12 +180,12 @@ elasticsearch.hosts: ["http://localhost:9200"]
177
180
178
181
179
182
**DOs**<br>
180
- ✅ Include code blocks within lists or other block elements as needed<br>
181
- ✅ Add language identifiers like ` yaml`, `json`, `bash`
183
+ ✅ **Do:** Include code blocks within lists or other block elements as needed<br>
184
+ ✅ **Do:** Add language identifiers like ` yaml`, `json`, `bash`
182
185
183
186
**DON'Ts**<br>
184
- ❌ Place code blocks in admonitions<br>
185
- ❌ Use inline code formatting (single backticks) for multi-line content<br>
187
+ ❌ **Don't:** Place code blocks in admonitions<br>
188
+ ❌ **Don't:** Use inline code formatting (single backticks) for multi-line content
186
189
187
190
[More details : Code →](code.md)
188
191
<br>
@@ -250,12 +253,12 @@ Add comments with `//` or `#` to magically create callouts.
250
253
:: :
251
254
252
255
**DOs**<br>
253
- ✅ Keep callout text short and specific<br>
254
- ✅ Use only one type of callout per code block (don't mix [explicit](#explicit-callout) and [magic](#magic-callout))<br>
255
- ✅ Make sure there's a corresponding list item for each explicit callout marker in a code block
256
+ ✅ **Do:** Keep callout text short and specific<br>
257
+ ✅ **Do:** Use only one type of callout per code block (don't mix [explicit](#explicit-callout) and [magic](#magic-callout))<br>
258
+ ✅ **Do:** Make sure there's a corresponding list item for each explicit callout marker in a code block
256
259
257
260
**DON'Ts**<br>
258
- ❌ Overuse callouts -- they can impede readability<br>
261
+ ❌ **Don't:** Overuse callouts — they can impede readability
259
262
260
263
[More details : Code callouts→](code.md#code-callouts)
261
264
<br>
@@ -297,11 +300,11 @@ Regular text after multi-line comment
297
300
:: :
298
301
299
302
**DOs**<br>
300
- ✅ Add a space after `%` to start a single-line comment<br>
303
+ ✅ **Do:** Add a space after the `%` in single-line comments
301
304
302
305
**DON'Ts**<br>
303
- ❌ Use `#` or `//` for comments; they're reserved for [magic callouts](#magic-callout)<br>
304
-
306
+ ❌ **Don't:** Use `#` or `//` for comments ( reserved for [magic callouts](#magic-callout))
307
+ <br>
305
308
<br>
306
309
307
310
---
@@ -325,11 +328,11 @@ Collapsible content
325
328
::: :
326
329
327
330
**DOs**<br>
328
- ✅ Use dropdowns for text, lists, images, code blocks, and tables<br>
329
- ✅ Add `:open:` to auto-expand a dropdown by default
331
+ ✅ **Do:** Use dropdowns for text, lists, images, code blocks, and tables<br>
332
+ ✅ **Do:** Add `:open:` to auto-expand a dropdown by default
330
333
331
334
**DON'Ts**<br>
332
- ❌ Use dropdowns for very long paragraphs or entire sections<br>
335
+ ❌ **Don't:** Use dropdowns for very long paragraphs or entire sections
333
336
334
337
[More details : Dropdowns →](dropdowns.md)
335
338
<br>
@@ -359,13 +362,13 @@ Title of a page or a section. To create a heading, add number signs `#` at the b
359
362
::: :
360
363
361
364
**DOs**<br>
362
- ✅ Start every page with a Heading 1<br>
363
- ✅ Use only one Heading 1 per page<br>
364
- ✅ Define custom anchors for repeated headings<br>
365
+ ✅ **Do:** Start every page with a Heading 1<br>
366
+ ✅ **Do:** Use only one Heading 1 per page<br>
367
+ ✅ **Do:** Define custom anchors for repeated headings
365
368
366
369
**DON'Ts**<br>
367
- ❌ Use headings in tabs or dropdowns<br>
368
- ❌ Go deeper than Heading 4
370
+ ❌ **Don't:** Use headings in tabs or dropdowns<br>
371
+ ❌ **Don't:** Go deeper than Heading 4
369
372
370
373
[More details : Headings →](headings.md)
371
374
<br>
@@ -387,14 +390,14 @@ Standard Markdown images: `[alt text]` in square brackets, followed by the image
387
390
:: :
388
391
389
392
**DOs**<br>
390
- ✅ Store images in a centralized directory<br>
391
- ✅ Follow v3 [best practices for screenshots](../versions/index.md#screenshots)<br>
392
- ✅ Specify `:screenshot:` in an [image directive](images.md#screenshots) to add a border<br>
393
+ ✅ **Do:** Store images in a centralized directory<br>
394
+ ✅ **Do:** Follow v3 [best practices for screenshots](../versions/index.md#screenshots)<br>
395
+ ✅ **Do:** Specify `:screenshot:` in an [image directive](images.md#screenshots) to add a border
393
396
394
397
**DON'Ts**<br>
395
- ❌ Use lots of UI screenshots that create a maintenance burden<br>
396
- ❌ Include confidential info or PII in an image<br>
397
- ❌ Add a drop shadow or torn edge effect
398
+ ❌ **Don't:** Use lots of UI screenshots that create a maintenance burden<br>
399
+ ❌ **Don't:** Include confidential info or PII in an image<br>
400
+ ❌ **Don't:** Add a drop shadow or torn edge effect
398
401
399
402
[More details : Images →](images.md)
400
403
<br>
@@ -410,14 +413,14 @@ Elastic Docs v3 supports standard Markdown inline formatting.
410
413
` **strong**` **bold** <br>
411
414
\` `monospace` \` `inline code` (single backticks) <br>
412
415
` ~~strikethrough~~` ~~strikethrough~~ <br>
413
- ` \* escaped` \* escaped character <br>
416
+ ` \* escaped` \* escaped character
414
417
415
418
**DOs**<br>
416
- ✅ Use `_emphasis_` to introduce a term<br>
417
- ✅ Use inline `code` in headings and other elements as needed
419
+ ✅ **Do:** Use `_emphasis_` to introduce a term<br>
420
+ ✅ **Do:** Use inline `code` in headings and other elements as needed
418
421
419
422
**DON'Ts**<br>
420
- ❌ Overuse `**strong**` or `_emphasis_` -- aim for readability
423
+ ❌ **Don't:** Overuse `**strong**` or `_emphasis_` — aim for readability
421
424
<br>
422
425
<br>
423
426
@@ -437,13 +440,13 @@ Standard Markdown links to doc pages, sections (anchors), or external content. P
437
440
:: :
438
441
439
442
**DOs**<br>
440
- ✅ Use inline formatting in link text : ` [**bold link**](bold-page.md)` <br>
441
- ✅ Autogenerate link text from the page or section title : ` [](use-title.md#section)` <br>
442
- ✅ Define a custom [anchor](#anchors) by adding `[anchor-text]` at the end of a heading line
443
+ ✅ **Do:** Use inline formatting in link text : ` [**bold link**](bold-page.md)` <br>
444
+ ✅ **Do:** Autogenerate link text from the page or section title : ` [](use-title.md#section)` <br>
445
+ ✅ **Do:** Define a custom [anchor](#anchors) by adding `[anchor-text]` at the end of a heading line
443
446
444
447
**DON'Ts**<br>
445
- ❌ Use unclear, inaccessible link text like "click here" or "this"<br>
446
- ❌ Include terminal punctuation in link text
448
+ ❌ **Don't:** Use unclear, inaccessible link text like "click here" or "this"<br>
449
+ ❌ **Don't:** Include terminal punctuation in link text
447
450
448
451
[More details : Links →](links.md)
449
452
<br>
@@ -470,15 +473,15 @@ Standard Markdown ordered (numbered) and unordered (bulleted) lists. Indent with
470
473
:::
471
474
472
475
**DOs** <br>
473
- ✅ Add code blocks, images, admonitions, and other content within a list item<br>
474
- ✅ Nest lists, mixing ordered and unordered as needed<br>
475
- ✅ Use parallel structure and phrasing in list items<br>
476
- ✅ Capitalize only the first word of list items (sentence case)<br>
477
- ✅ Use terminal punctuation consistently and only for complete sentences<br>
476
+ ✅ **Do:** Add code blocks, images, admonitions, and other content within a list item<br>
477
+ ✅ **Do:** Nest lists, mixing ordered and unordered as needed<br>
478
+ ✅ **Do:** Use parallel structure and phrasing in list items<br>
479
+ ✅ **Do:** Capitalize only the first word of list items (sentence case)<br>
480
+ ✅ **Do:** Use terminal punctuation consistently and only for complete sentences
478
481
479
482
**DON'Ts** <br>
480
- ❌ Use lists solely for layout purposes <br>
481
- ❌ Use lists for structured data or comparisons — use tables instead
483
+ ❌ **Don't:** Use lists solely for layout purposes <br>
484
+ ❌ **Don't:** Use lists for structured data or comparisons — use tables instead
482
485
483
486
[More details: Lists →](lists.md)
484
487
<br>
@@ -516,14 +519,14 @@ Page title (Markdown H1):
516
519
517
520
518
521
** DOs** <br >
519
- ✅ Use active phrasing and shorter forms<br >
520
- ✅ Make sure the navigation title clearly identifies the page topic<br >
521
- ✅ Omit product names that appear in the full H1 page title
522
+ ✅ ** Do: ** Use active phrasing and shorter forms<br >
523
+ ✅ ** Do: ** Make sure the navigation title clearly identifies the page topic<br >
524
+ ✅ ** Do: ** Omit product names that appear in the full H1 page title
522
525
523
526
** DON'Ts** <br >
524
- ❌ Duplicate the H1 page title<br >
525
- ❌ Use a long navigation title or lots of punctuation<br >
526
- ❌ Abbreviate with periods or ellipses
527
+ ❌ ** Don't: ** Duplicate the H1 page title<br >
528
+ ❌ ** Don't: ** Use a long navigation title or lots of punctuation<br >
529
+ ❌ ** Don't: ** Abbreviate with periods or ellipses
527
530
528
531
[ More details: Title →] ( ./titles.md )
529
532
<br >
@@ -571,13 +574,13 @@ Elastic Cloud Hosted supports most standard Kibana settings.
571
574
:::
572
575
573
576
** DOs** <br >
574
- ✅ Check the global ` docset.yml ` file for existing product and feature name subs<br >
575
- ✅ Use substitutions in code blocks by setting ` subs=true ` <br >
576
- ✅ Define new page-specific substitutions as needed
577
+ ✅ ** Do: ** Check the global ` docset.yml ` file for existing product and feature name subs<br >
578
+ ✅ ** Do: ** Use substitutions in code blocks by setting ` subs=true ` <br >
579
+ ✅ ** Do: ** Define new page-specific substitutions as needed
577
580
578
581
** DON'Ts** <br >
579
- ❌ Override a ` docset.yml ` sub by defining a page-level sub with the same key (causes build errors)<br >
580
- ❌ Use substitutions for common words that don't need to be standardized
582
+ ❌ ** Don't: ** Override a ` docset.yml ` sub by defining a page-level sub with the same key (causes build errors)<br >
583
+ ❌ ** Don't: ** Use substitutions for common words that don't need to be standardized
581
584
582
585
[ More details: Substitutions →] ( ./substitutions.md )
583
586
<br >
@@ -620,16 +623,16 @@ Tab 2 content
620
623
:::::
621
624
622
625
** DOs** <br >
623
- ✅ Use clear, descriptive tab labels<br >
624
- ✅ Make sure all tabs have the same type of content and similar goals<br >
625
- ✅ Keep tab content scannable and self-contained (don't make the user switch tabs to follow steps or compare content)<br >
626
- ✅ Include other block elements in tabs, like [ admonitions] ( #admonitions )
626
+ ✅ ** Do: ** Use clear, descriptive tab labels<br >
627
+ ✅ ** Do: ** Make sure all tabs have the same type of content and similar goals<br >
628
+ ✅ ** Do: ** Keep tab content scannable and self-contained (don't make users switch tabs to follow steps or compare content)<br >
629
+ ✅ ** Do: ** Include other block elements in tabs, like [ admonitions] ( #admonitions )
627
630
628
631
** DON'Ts** <br >
629
- ❌ Nest tabs<br >
630
- ❌ Split step-by-step procedures across tabs<br >
631
- ❌ Use more than 6 tabs (use as few as possible)<br >
632
- ❌ Use tabs in [ dropdowns] ( #dropdowns )
632
+ ❌ ** Don't: ** Nest tabs<br >
633
+ ❌ ** Don't: ** Split step-by-step procedures across tabs<br >
634
+ ❌ ** Don't: ** Use more than 6 tabs (use as few as possible)<br >
635
+ ❌ ** Don't: ** Use tabs in [ dropdowns] ( #dropdowns )
633
636
634
637
635
638
[ More details: Tabs →] ( tabs.md )
@@ -659,13 +662,13 @@ Standard table layout for structured data. Automatically scrolls horizontally if
659
662
:::
660
663
661
664
** DOs** <br >
662
- ✅ Use leading and trailing pipes for clarity<br >
663
- ✅ Add spaces for readability (they're trimmed)<br >
664
- ✅ Keep cell content scannable and parallel<br >
665
- ✅ Use standard Markdown text alignment when necessary (` :-- --: :--: ` )< br >
665
+ ✅ ** Do: ** Use leading and trailing pipes for clarity<br >
666
+ ✅ ** Do: ** Add spaces for readability (they're trimmed)<br >
667
+ ✅ ** Do: ** Keep cell content scannable and parallel<br >
668
+ ✅ ** Do: ** Use standard Markdown text alignment when necessary (` :-- --: :--: ` )
666
669
667
670
** DON'Ts** <br >
668
- ❌ Insert block elements or multiple paragraphs in a table cell<br >
669
- ❌ Use a table solely for position or spacing purposes< br >
671
+ ❌ ** Don't: ** Insert block elements or multiple paragraphs in a table cell<br >
672
+ ❌ ** Don't: ** Use a table solely for position or spacing purposes
670
673
671
674
[ More details: Tables →] ( tables.md )
0 commit comments