This page looks best with JavaScript enabled

Syntax in Markdown Source Files for Hugo

 ·  ☕ 1 min read

Text Boxes …

… via Blockquote

1
> **_NOTE:_**  The note content.

NOTE: The note content.

… via Horizontal Lines

1
2
3
4
5
---
**_NOTE:_**
It works with almost all markdown flavours (the below blank line matters).

---

NOTE:
It works with almost all markdown flavours (the below blank line matters).


… via Bodyless Table

1
2
|![](/images/icons/info-96.png) | This is something I want you to notice. It has a lot of text, and I want that text to wrap within a cell to the right of the `NOTE`, instead of under it.|
|-|-|
This is something I want you to notice. It has a lot of text, and I want that text to wrap within a cell to the right of the NOTE, instead of under it.

… via Hugo (specific) Shortcodes

Alert

1
2
3
{{< alert theme="warning" >}}
**this** is a warning
{{< /alert >}}

Replace the theme="warning" with theme="info", theme="success" or theme="danger".

Notice

1
2
3
{{< notice success >}}
success text
{{< /notice >}}

Replace the notice success with notice info, notice warning or notice error.

success text
info text
warning text
error text

Philipp Westphal
WRITTEN BY
Philipp Westphal
Software Developer & Structural Engineer