Skip to content

Commit 6f62f40

Browse files
committed
Use output/markdown pattern in docs
1 parent 96a32a7 commit 6f62f40

File tree

1 file changed

+82
-11
lines changed

1 file changed

+82
-11
lines changed

docs/syntax/icons.md

Lines changed: 82 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -471,39 +471,110 @@ You can use icons in various Markdown elements.
471471

472472
You can include icons in headings:
473473

474-
## i:gear: Settings
474+
::::{tab-set}
475+
476+
:::{tab-item} Output
477+
478+
#### Test the i:gear: Settings
479+
#### User Profile i:user:
480+
481+
:::
482+
483+
:::{tab-item} Markdown
484+
```markdown
485+
#### Test the i:gear: Settings
475486
#### User Profile i:user:
487+
```
488+
:::
489+
490+
::::
476491

477492
### Lists
478493

479494
Icons can be used in both ordered and unordered lists.
480495

496+
497+
::::{tab-set}
498+
499+
:::{tab-item} Output
500+
501+
**Unordered List:**
502+
* test i:check: Task one completed
503+
* i:check: Task two completed
504+
* i:cross: Task three pending
505+
506+
**Ordered List:**
507+
1. i:check: First item
508+
2. i:check: Second item
509+
3. i:cross: Third item
510+
511+
:::
512+
513+
:::{tab-item} Markdown
514+
```markdown
481515
**Unordered List:**
482-
* test i:check: Task one completed
483-
* i:check: Task two completed
484-
* i:cross: Task three pending
516+
* test i:check: Task one completed
517+
* i:check: Task two completed
518+
* i:cross: Task three pending
485519

486520
**Ordered List:**
487521
1. i:check: First item
488522
2. i:check: Second item
489523
3. i:cross: Third item
524+
```
525+
:::
526+
527+
::::
490528

491529
### Tables
492530

493531
Icons can be used within table cells.
494532

495-
| Status | Description |
496-
| :--- | :--- |
497-
| i:checkCircle: | Success |
498-
| i:warning: | Warning |
499-
| i:error: | Error |
533+
::::{tab-set}
534+
535+
:::{tab-item} Output
536+
537+
| Status | Description |
538+
|:--------------:|:------------|
539+
| i:checkCircle: | Success |
540+
| i:warning: | Warning |
541+
| i:error: | Error |
500542

501-
### Blockquotes
543+
:::
502544

503-
> i:info: This is an informational note with an icon.
545+
:::{tab-item} Markdown
546+
```markdown
547+
| Status | Description |
548+
|:--------------:|:------------|
549+
| i:checkCircle: | Success |
550+
| i:warning: | Warning |
551+
| i:error: | Error |
552+
```
553+
:::
554+
555+
::::
504556

505557
### Paragraphs
506558

559+
::::{tab-set}
560+
561+
:::{tab-item} Output
562+
563+
i:sparkles: Icons can be placed at the beginning of a paragraph.
564+
565+
You can also use icons directly in your text for emphasis, like this i:sparkles: magic i:sparkles: moment.
566+
567+
568+
:::
569+
570+
:::{tab-item} Markdown
571+
572+
```markdown
507573
i:sparkles: Icons can be placed at the beginning of a paragraph.
508574

509575
You can also use icons directly in your text for emphasis, like this i:sparkles: magic i:sparkles: moment.
576+
577+
```
578+
:::
579+
580+
::::

0 commit comments

Comments
 (0)