Terminal Theme Features Demo
This post demonstrates all the special features and styling options available in the Terminal Hugo theme.
Basic Text Formatting#
This is a regular paragraph with bold text, italic text, and bold italic text. You can also use strikethrough text.
Headings#
H1 Heading#
H2 Heading#
H3 Heading#
H4 Heading#
Lists#
Unordered List#
- First item
- Second item
- Nested item 1
- Nested item 2
- Third item
Ordered List#
- First step
- Second step
- Third step
Code Blocks#
Inline Code#
Use const variable = "value" for inline code snippets.
Basic Code Block#
function greet(name) {
console.log(`Hello, ${name}!`);
return true;
}
greet("World");
Python Code with Syntax Highlighting#
def fibonacci(n):
if n <= 1:
return n
return fibonacci(n-1) + fibonacci(n-2)
# Generate first 10 Fibonacci numbers
for i in range(10):
print(f"F({i}) = {fibonacci(i)}")
Java Code#
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, Terminal Theme!");
}
}
Special Shortcodes#
Image Shortcode#
Images with special styling and positioning:
Code Shortcode with Title#
Custom CSS Example
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.button {
background: var(--accent);
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
}
Blockquotes#
This is a blockquote. It's perfect for highlighting important information or quotes from other sources.
— Max, 2025
Pro Tip: Use blockquotes to make important information stand out!
Tables#
| Feature | Description | Status |
|---|---|---|
| Syntax Highlighting | Beautiful code colors | ✅ |
| Responsive Design | Mobile-friendly | ✅ |
| Custom Colors | Terminal.css support | ✅ |
| Fast Loading | Optimized performance | ✅ |
Links and References#
Horizontal Rules#
You can use horizontal rules to separate sections:
Task Lists#
- Completed task
- Another completed task
- Pending task
- Another pending task
Nested Elements#
You can combine different elements:
First Point: This is important
- Sub-point with
inline code - Another sub-point with a link
- Sub-point with
Second Point:
echo "Code in a list!"Third Point:
A quote inside a list
Emphasis and Special Characters#
- Use strong emphasis for important points
- Use emphasis for subtle highlights
- Use
codefor technical terms - Special characters: © ® ™ § ¶ • – — … " " ' '
Summary#
The Terminal theme offers:
- Beautiful Syntax Highlighting - Powered by Chroma
- Custom Shortcodes - For images and code blocks
- Responsive Design - Looks great on all devices
- Customizable Colors - Via Terminal.css
- Fast Performance - Hugo's speed + minimal theme
Try experimenting with these features in your own posts!