Skip to content

Commit 1cca2cf

Browse files
committed
ff-matrix - callout feature examples
1 parent e156acb commit 1cca2cf

8 files changed

Lines changed: 137 additions & 3 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: Callout with minimal appearance
3+
format:
4+
html:
5+
quality: 1
6+
---
7+
8+
::: {.callout-note appearance="minimal"}
9+
10+
## Title
11+
12+
{{< lipsum 1 >}}
13+
14+
:::
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: Callout with simple appearance
3+
format:
4+
html:
5+
quality: 1
6+
---
7+
8+
::: {.callout-note appearance="simple"}
9+
10+
## Title
11+
12+
{{< lipsum 1 >}}
13+
14+
:::
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: Callouts
3+
format:
4+
html:
5+
quality: 2
6+
---
7+
8+
::: {.callout-note collapse="true"}
9+
10+
## A small note
11+
12+
You should note that this is a note.
13+
14+
:::
15+
16+
::: {.callout-note collapse="false"}
17+
18+
## A small note
19+
20+
You should note that this is a note.
21+
22+
:::

dev-docs/feature-format-matrix/qmd-files/callout/document.qmd

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
title: Callouts
33
format:
4-
docusaurus-md:
5-
quality: 1
64
html:
75
quality: 2
6+
docusaurus-md:
7+
quality: 1
88
dashboard:
99
quality: 0
1010
comment: "Bug: Callout icons show on a separate line from the title."
@@ -52,4 +52,35 @@ You should note that this is a note.
5252

5353
A callout does not need a title.
5454

55-
:::
55+
:::
56+
57+
::: {.callout-note}
58+
59+
## A callout does not need content
60+
61+
:::
62+
63+
::: {.callout-note}
64+
65+
:::
66+
67+
::: {.callout-note collapse="true" appearance="minimal"}
68+
69+
## A small note
70+
71+
You should note that this is a note.
72+
73+
:::
74+
75+
::: {.callout}
76+
77+
:::
78+
79+
::: {.callout}
80+
81+
## Title
82+
83+
Content
84+
85+
:::
86+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: Callout with no content
3+
format:
4+
html:
5+
quality: 1
6+
---
7+
8+
::: {.callout-note}
9+
10+
## Title
11+
12+
:::
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: Callout with no icon
3+
format:
4+
html:
5+
quality: 0
6+
comment: Title is a offset a little too far down
7+
---
8+
9+
::: {.callout-note icon="false"}
10+
11+
## Title
12+
13+
{{< lipsum 1 >}}
14+
15+
:::
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: Callout with no title
3+
format:
4+
html:
5+
quality: 1
6+
---
7+
8+
::: {.callout-note}
9+
10+
{{< lipsum 1 >}}
11+
12+
:::
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: Callout with no type
3+
format:
4+
html:
5+
quality: 1
6+
---
7+
8+
::: {.callout}
9+
10+
## Title
11+
12+
{{< lipsum 1 >}}
13+
14+
:::

0 commit comments

Comments
 (0)