Ultimate Hugo + Hextra Formatting Showcase
Ultimate Hugo + Hextra Formatting Showcase
Hugo + Hextra Formatting Showcase π
Welcome to the ultimate test post.
This file demonstrates everything from Markdown basics to Hugo templating magic.
1. Headings & Text Styles
H1 Heading
H2 Heading
H3 Heading with italic
H4 Heading with bold
Text styles: italic, bold, bold italic, strikethrough
Subscript: H2O
Superscript: E = mc2
2. Quotes & Alerts
Normal blockquote
Nested blockquote
This is a note
This is a tip
Important info
Warning message
Be careful!
3. Lists
Ordered
- First
- Second
- Nested
- Nested
- Third
Unordered
- Item
- Another item
- Sub-item
Tasks
- Not done
- Done
4. Tables
Name | Age | Status |
---|---|---|
Alice | 23 | Student |
Bob | 27 | Engineer |
Carol | 30 |
5. Links & Cross References
- External: Markdown Guide
- Internal: Jump to Shortcodes
6. Images
Markdown Image
Hugo Figure
Hugo Figure with Caption
7. Code Examples
Inline
Hereβs some inline code
.
Code Block
hello.py
|
|
Hugo Highlight
<p>Hello with Hugo highlight</p>
8. Footnotes
This text has a footnote.1
9. Summaries & Read More
Content above <!--more-->
is used as summary in lists.
Below is extra content for detail pages.
10. Shortcodes
Callouts
This is an Info Callout.
Cards
Collapsible Details
This text is hidden by default.
Mermaid Diagram
graph TD; A[Start] --> B{Choice?}; B -->|Yes| C[Path 1]; B -->|No| D[Path 2];
File Tree
- _index.md
Icons
GitHub icon:
Block math:
Badges
New
Releases
YouTube
PDF Embed
Steps
Tabs
title: "My Site"
theme: "hextra"
{
"title": "My Site",
"theme": "hextra"
}
β Done
This demo shows:
- Markdown basics
- Hugo formatting & features
- Hextra shortcodes
Use this as your template for future articles.
-
This is the footnote. ↩︎
Last updated on