Markdown Guide & Syntax
HugoBlox supports GitHub Flavored Markdown (GFM) along with powerful extensions for diagrams, math, and shortcodes.
Basic Formatting
Section titled “Basic Formatting”| Style | Syntax | Result |
|---|---|---|
| Bold | **Bold** | Bold |
| Italic | *Italic* | Italic |
~~Strikethrough~~ | ||
Code | `Code` | Code |
| Link | [Link](url) | Link |
Unordered
- Item 1- Item 2 - Sub-itemOrdered
1. First2. Second3. ThirdTask List
- [x] Done- [ ] To Do> This is a blockquote.>> It can span multiple lines.Advanced Features
Section titled “Advanced Features”Math (LaTeX)
Section titled “Math (LaTeX)”Render beautiful mathematical equations using KaTeX. Enable math: true in your front matter.
Inline: $E = mc^2$
$E = mc^2$Block:
$$E = mc^2$$Diagrams (Mermaid)
Section titled “Diagrams (Mermaid)”Visualize flowcharts, graphs, and more using Mermaid.
graph TD; A[Start] --> B{Is it working?}; B -- Yes --> C[Great!]; B -- No --> D[Debug];```mermaidgraph TD; A[Start] --> B{Is it working?}; B -- Yes --> C[Great!]; B -- No --> D[Debug];```Code Blocks
Section titled “Code Blocks”Syntax highlighting is built-in.
def hello(): print("Hello, World!")```pythondef hello(): print("Hello, World!")```Alerts / Callouts
Section titled “Alerts / Callouts”Use standard blockquotes with specific indicators for styled alerts.
[!NOTE] Useful information that users should know.
[!TIP] Helpful advice for doing things better.
[!IMPORTANT] Key information users need to know to achieve their goal.
[!WARNING] Urgent info that needs immediate user attention to avoid problems.
[!CAUTION] Advises about risks or negative outcomes of certain actions.
> [!NOTE]> Useful information that users should know.Shortcodes
Section titled “Shortcodes”HugoBlox includes custom shortcodes to enhance your content.
Call-to-Action (CTA)
Section titled “Call-to-Action (CTA)”{{< cta cta_text="Get Started" cta_link="/get-started" >}}{{< icon name="hero/rocket" >}}Figure / Image
Section titled “Figure / Image”{{< figure src="image.jpg" caption="My Image" >}}
⚡️ Cut Dev Time in Half
Join 1,000+ researchers at top labs using the Visual Builder to ship professional sites faster. Lock in the $8/m introductory pricing before it changes.