This post is marked as draft: true in the frontmatter, so it won’t show up in the site listing or RSS feed. Use it as a reference for how things render.

Code blocks

Inline code looks like this: SELECT count(*) FROM transactions. Fenced code blocks look like this:

EXPLAIN ANALYZE
SELECT date_trunc('hour', created_at) AS hour, count(*)
FROM transactions
WHERE created_at >= now() - interval '24 hours'
GROUP BY 1
ORDER BY 1;
def chunked(iterable, size):
    """Yield successive size-sized chunks from iterable."""
    for i in range(0, len(iterable), size):
        yield iterable[i:i + size]

Lists

Unordered:

  • First item
  • Second item with bold and italic
  • Third item with a link

Ordered:

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

Blockquote

Long quotes get this styling. Useful for citing a paper, a person, or something I want to react to.

Horizontal rule

Use --- for a section break:


That’s it. To publish a post, remove draft: true from the frontmatter.