Markdown tests

Seemingly random snippets of Markdown to test the MDX rendering.


Contents


www.example.com, https://example.com, and contact@example.com.

Footnote

A note1

Strikethrough

one or two tildes.

Table

abcd

Tasklist

  • to do
  • done

TypeScript

Bullet list:

  • One
  • Two
  • Three
interface User {
  id: number;
  name: string;
  email: string;
}

async function fetchUser(id: number): Promise<User> {
  const res = await fetch(`/api/users/${id}`);
  if (!res.ok) throw new Error("User not found");
  return res.json();
}

Rust

⚠️ turbofish.

Text with turbofish

fn main() {
    let a = 42;
    println!("a = {a}");
}

Footnotes

  1. Big note.