Skip to content

Commit 5cbf08b

Browse files
committed
Update comment now that warnings use admonitions
1 parent 5cb0567 commit 5cbf08b

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

theme/reference.css

+3-7
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,11 @@ the parenthetical. So for this example, you'd use
1111
}
1212

1313
/*
14-
Warnings and notes:
14+
Warnings are defined using admonitions in blockquotes:
1515
16-
Write the <div>s on their own line. E.g.
16+
> [!WARNING]
17+
> This is bad!
1718
18-
<div class="warning">
19-
20-
Warning: This is bad!
21-
22-
</div>
2319
*/
2420
main .warning p {
2521
padding: 10px 20px;

0 commit comments

Comments
 (0)