Welcome to the Hugo Markdown Demo

This is a sample article to demonstrate Markdown capabilities in Hugo, a powerful static site generator.

Introduction

Markdown is a lightweight markup language that you can use to add formatting elements to plaintext text documents. With Hugo, it gets even better with extended features.

Basic Syntax

Here are some common Markdown elements:

Text Formatting

  • Bold: **Bold**Bold
  • Italic: *Italic*Italic
  • Strikethrough: ~~Strikethrough~~Strikethrough

Lists

Unordered List:

  • Item 1
    • Item 1.1
    • Item 1.2
  • Item 2

Ordered List:

  1. First item
  2. Second item

Hugo Documentation

Images

Photo of gel candle on board beside pillow

Advanced Syntax

Blockquotes

“Hugo is the world’s fastest framework for building websites.”
— Hugo Team

Tables

Syntax Description
Header Title
Paragraph Text

Tasks

  • Write Markdown
  • Test Hugo Site
  • Deploy to Production

Code Highlighting

Hugo supports syntax highlighting for code blocks. Here’s an example:

# Python example
def hello_world():
    print("Hello, World!")
<!-- HTML example -->
<div class="container">
    <h1>Welcome to Hugo</h1>
</div>

Conclusion

Markdown is easy to learn and even easier to use with Hugo. You can create rich content with minimal effort.

For more details, visit Hugo Documentation.