SPORK:BLOG

back to home

Style Test

This is a test post to check how different markdown elements look with the current theme.

Unordered List

  • First item
  • Second item with bold text and italic text
  • Third item
    • Nested item one
    • Nested item two
  • Fourth item

Ordered List

  1. Set up the project
  2. Install dependencies
  3. Configure the theme
  4. Write some posts
  5. Deploy to production

Tables

LanguageTypingFirst Appeared
PythonDynamic1991
RustStatic2010
JavaScriptDynamic1995
GoStatic2009
TypeScriptStatic2012

Code Blocks

Here’s some Python:

def fibonacci(n: int) -> list[int]:
    """Generate the first n Fibonacci numbers."""
    seq = []
    a, b = 0, 1
    for _ in range(n):
        seq.append(a)
        a, b = b, a + b
    return seq

for num in fibonacci(10):
    print(num)

Some JavaScript:

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

window.addEventListener(
  "resize",
  debounce(() => console.log("resized!"), 250),
);

And some inline code: const x = 42; mixed into a paragraph.

Blockquote

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

Horizontal Rule


That’s it for the style test!

More Posts