This post serves as both a tribute to Kotaro and a comprehensive test of all Hugo/Markdown features. Let’s dive in!

Basic Text Formatting

Here’s bold text, italic text, and bold italic text combined.

You can also use underscores for bold and underscores for italic.

Strikethrough for when Kotaro knocks things off tables (which is never, of course).

This is inline code for when we discuss cat-related programming.

Headings Hierarchy

H1 - The Majestic Kotaro

H2 - Daily Activities

H3 - Morning Routine

H4 - Breakfast Time

H5 - Food Preferences
H6 - Specific Kibble Ratings

Lists

Unordered Lists

Kotaro’s favorite activities:

  • Sleeping
    • On the couch
    • In sunbeams
      • Especially afternoon sun
      • Window sills are preferred
    • On freshly laundered clothes
  • Playing
    • Chasing toys
    • Attacking feet under blankets
  • Eating
  • Judging humans

Ordered Lists

Kotaro’s daily schedule:

  1. Wake up at 5 AM
  2. Demand breakfast
  3. Post-breakfast nap
  4. Mid-morning zoomies
  5. Lunch
  6. Afternoon nap (3-4 hours)
  7. Evening playtime
  8. Dinner
  9. Night patrol
  10. Sleep (repeat)

Task Lists

  • Feed Kotaro
  • Clean litter box
  • Trim claws (good luck)
  • Give medication (impossible)
  • Provide chin scratches

Definition Lists

Cat
A small domesticated carnivorous mammal with soft fur, a short snout, and retractable claws.
Kotaro
The best example of the above definition.
Zoomies
Sudden bursts of energy resulting in chaotic running through the house at 3 AM.

Learn more about cats at Wikipedia.

Kotaro is a Japanese name meaning “small boy” or can be written with characters meaning “tiger.”

Visit https://example.com for more cat content.

Email us at cat@example.com for Kotaro fan mail.

Check out my professional blog or go back to the homepage.


Images

Basic Image (if you add one to static/images/)

Kotaro sleeping

Image with Caption (using figure shortcode)

A majestic cat

Kotaro Looking Majestic

This is Kotaro judging your life choices


Blockquotes

“In ancient times cats were worshipped as gods; they have not forgotten this.” โ€” Terry Pratchett

Nested blockquotes:

Kotaro’s philosophy:

Sleep when tired.

Eat when hungry.

Ignore humans when convenient.


Code Blocks

Inline Code

Use the meow() function to communicate with Kotaro.

Fenced Code Blocks

# Kotaro's daily algorithm
def kotaro_day():
    while True:
        if hungry():
            meow_loudly()
            eat()
        elif tired():
            find_sunbeam()
            sleep(hours=random.randint(2, 6))
        elif bored():
            knock_things_off_table()
        else:
            judge_humans()
// Cat feeding scheduler
const feedingTimes = ['06:00', '12:00', '18:00'];

feedingTimes.forEach(time => {
  schedule(time, () => {
    console.log('๐Ÿฑ Feeding Kotaro...');
    kotaro.feed({ food: 'premium', amount: 'generous' });
  });
});
package main

import "fmt"

type Cat struct {
    Name    string
    Age     int
    Mood    string
}

func (c *Cat) Meow() {
    fmt.Printf("%s says: Meow!\n", c.Name)
}

func main() {
    kotaro := Cat{Name: "Kotaro", Age: 3, Mood: "sleepy"}
    kotaro.Meow()
}
# Check if Kotaro has been fed
#!/bin/bash
if [ -f /tmp/kotaro_fed ]; then
    echo "Kotaro has been fed today"
else
    echo "URGENT: Feed Kotaro immediately!"
    touch /tmp/kotaro_fed
fi
{
  "cat": {
    "name": "Kotaro",
    "breed": "Domestic Shorthair",
    "color": "orange tabby",
    "traits": ["fluffy", "judgmental", "adorable"],
    "favoriteSpots": [
      "sunny window",
      "cardboard box",
      "laptop keyboard"
    ]
  }
}

Code with Line Numbers (if enabled in config)

1
2
3
4
5
6
7
def calculate_treats(mood):
    base_treats = 5
    if mood == "good":
        return base_treats * 2
    elif mood == "extra_cute":
        return base_treats * 10
    return base_treats

Tables

Basic Table

ActivityDurationFrequency
Sleeping16 hoursDaily
Eating30 mins3x daily
Playing1 hourWhen motivated
Judging24/7Constant

Aligned Table

Left AlignedCenter AlignedRight Aligned
Breakfast6:00 AM100g
Lunch12:00 PM50g
Dinner6:00 PM100g
TreatsRandomUnlimited

Complex Table

MoodSignsResponseSuccess Rate
HappyPurring, slow blinksPet gently95%
HungryLoud meows, followingFeed immediately100%
PlayfulDilated pupils, pouncingGet the feather toy80%
AngryFlat ears, tail swishingBack away slowly60%
SleepyCurled up, eyes closedDo not disturbN/A

Footnotes

Kotaro sleeps approximately 16 hours a day1, which is normal for cats2.

His favorite food is salmon-flavored kibble3.


Horizontal Rules

Three different ways to create them:





HTML Elements (if allowed)

He actually does know his name. He just chooses to ignore it.

Highlighted text for important cat facts.

Ctrl + C to copy cat pictures.

Text with superscript and subscript.

VIC status confirmed.


Emojis

Kotaro’s mood throughout the day: ๐Ÿ˜บ ๐Ÿ˜ธ ๐Ÿ˜ป ๐Ÿ˜ฝ ๐Ÿ˜ฟ ๐Ÿ™€ ๐Ÿ˜พ

Cat-related emojis: ๐Ÿฑ ๐Ÿˆ ๐Ÿˆโ€โฌ› ๐Ÿพ ๐ŸŸ ๐Ÿฅซ ๐Ÿงถ


Math (if enabled with KaTeX/MathJax)

The formula for calculating required daily pets:

$$P = \frac{C \times M}{T}$$

Where:

  • $P$ = Pets required
  • $C$ = Cuteness factor (always 10 for Kotaro)
  • $M$ = Meow intensity
  • $T$ = Time since last pets

Inline math: The probability of Kotaro responding to his name is $p \approx 0.05$.


Special Hugo Features

Shortcodes Examples

Highlight Shortcode

1
2
3
4
def pet_kotaro():
    print("Petting Kotaro...")  # This is highlighted
    kotaro.purr()
    return "๐Ÿ˜ป"  # This is also highlighted

Gist Shortcode (example syntax)

YouTube Shortcode (example syntax)

Tweet Shortcode (example syntax)


Summary

This post has demonstrated:

  1. Text formatting - bold, italic, strikethrough
  2. Headers - all six levels
  3. Lists - ordered, unordered, task lists, definition lists
  4. Links - inline, reference, autolinks
  5. Images - basic and figure shortcode
  6. Blockquotes - simple and nested
  7. Code - inline, fenced, syntax highlighted
  8. Tables - basic and aligned
  9. Footnotes - short and long form
  10. HTML elements - details, mark, kbd, etc.
  11. Emojis - various cat-related
  12. Math - block and inline (if enabled)
  13. Hugo shortcodes - highlight, figure, ref

Appendix: Kotaro Facts

FactValue
NameKotaro
SpeciesFelis catus
RoleProfessional sleeper, amateur hunter
SuperpowerMaking humans do his bidding
WeaknessThe vacuum cleaner
Catchphrase“Meow” (translation: “Feed me, peasant”)

Last updated: {{ .Lastmod.Format “January 2, 2006” }}

Thank you for reading about the magnificent Kotaro! ๐Ÿฑ


  1. This was measured over a week of careful observation. ↩︎

  2. Source: Every cat owner ever. ↩︎

  3. This is a longer footnote with multiple paragraphs.

    Kotaro specifically prefers the “Ocean Feast” variety, though he will accept “Salmon Supreme” as an alternative.

    He absolutely refuses chicken-flavored anything. ↩︎