Hello PaperMod!

This post demonstrates the features of the Hugo PaperMod theme.

1. Typography

Headings

H1 Heading

H2 Heading

H3 Heading

H4 Heading

H5 Heading
H6 Heading

Paragraphs

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Blockquote: This is a blockquote with bold text inside.

Second line of the blockquote.

2. Lists

Unordered List

  • Item 1
  • Item 2
    • Nested Item 2.1
    • Nested Item 2.2
  • Item 3

Ordered List

  1. First item
  2. Second item
  3. Third item

Task List

  • Completed task
  • Incomplete task
  • Another incomplete task

3. Code Blocks

Python

1def fibonacci(n):
2    if n <= 1:
3        return n
4    else:
5        return fibonacci(n-1) + fibonacci(n-2)
6
7print(fibonacci(10))

JavaScript

1const greet = (name) => {
2  console.log(`Hello, ${name}!`);
3};
4
5greet('World');

Go

1package main
2
3import "fmt"
4
5func main() {
6    fmt.Println("Hello, Hugo!")
7}

CSS

1.highlight {
2  background-color: yellow;
3  color: black;
4}

4. Tables

FeatureStatusNotes
Left AlignedCenter AlignedRight Aligned
Row 1 Col 1Row 1 Col 2Row 1 Col 3
Row 2 Col 1Row 2 Col 2Row 2 Col 3

5. Other Elements

Horizontal Rule


Math (KaTex)

This is an inline equation: $E=mc^2$

This is a block equation: $$ \sum_{i=1}^{n} i = \frac{n(n+1)}{2} $$

Emojis

:smile: :heart: :thumbsup: :rocket:

Images

Placeholder Image

A placeholder image demonstrating image support.

6. Shortcodes