A quick tour of how various Markdown elements render on this site.

Text formatting

Regular paragraph text. Bold text and italic text and inline code all work as expected. Here’s a link to Hugo for good measure.

Block quote

The best way to predict the future is to invent it. – Alan Kay

Lists

Unordered:

  • First item
  • Second item
  • Third item with a longer description that might wrap to a second line on narrow viewports

Ordered:

  1. Step one
  2. Step two
  3. Step three

Code blocks

A Go function:

func greet(name string) string {
    if name == "" {
        return "Hello, stranger!"
    }
    return fmt.Sprintf("Hello, %s!", name)
}

Some JavaScript:

const debounce = (fn, ms) => {
  let timer;
  return (...args) => {
    clearTimeout(timer);
    timer = setTimeout(() => fn(...args), ms);
  };
};

A shell command:

hugo server --buildDrafts --disableFastRender

Horizontal rule


Table

Feature Status
Dark mode Done
RSS feed Done
Tags Done
Syntax colors Done

That covers the basics.