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
Copy file name to clipboardexpand all lines: exampleSite/content/docs/guide/markdown.md
+38
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,44 @@ Blockquote with attribution
35
35
[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
36
36
```
37
37
38
+
### Alerts
39
+
40
+
Alerts are a Markdown extension based on the blockquote syntax that you can use to emphasize critical information.
41
+
[GitHub-style alerts](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts) are supported.
42
+
Please make sure you are using the latest version of Hextra and [Hugo v0.134.0](https://github.com/gohugoio/hugo/releases/tag/v0.134.0) or later.
43
+
44
+
> [!NOTE]
45
+
> Useful information that users should know, even when skimming content.
46
+
47
+
> [!TIP]
48
+
> Helpful advice for doing things better or more easily.
49
+
50
+
> [!IMPORTANT]
51
+
> Key information users need to know to achieve their goal.
52
+
53
+
> [!WARNING]
54
+
> Urgent info that needs immediate user attention to avoid problems.
55
+
56
+
> [!CAUTION]
57
+
> Advises about risks or negative outcomes of certain actions.
58
+
59
+
```markdown {filename=Markdown}
60
+
> [!NOTE]
61
+
> Useful information that users should know, even when skimming content.
62
+
63
+
> [!TIP]
64
+
> Helpful advice for doing things better or more easily.
65
+
66
+
> [!IMPORTANT]
67
+
> Key information users need to know to achieve their goal.
68
+
69
+
> [!WARNING]
70
+
> Urgent info that needs immediate user attention to avoid problems.
71
+
72
+
> [!CAUTION]
73
+
> Advises about risks or negative outcomes of certain actions.
74
+
```
75
+
38
76
### Tables
39
77
40
78
Tables aren't part of the core Markdown spec, but Hugo supports them out-of-the-box.
0 commit comments