Hello Markdown!

A sample page to test some of the markdown features. Don't take any of the code or math seriously.


h3

h4

h5

Code

Some c code:1

Arena *iter_arena = arena_default(),
      *work_arena = arena_default();

// <project root>/build/.. i.e. project root
String8 project_root = str8_chop_last_slash(g_os_state.process_info.exe_folder);
printf("searching '%.*s'\n\n", str8_varg(project_root));
OS_FileIter *iter = os_file_iter_begin(iter_arena, project_root, ...);

Some python code:

if check_and_remove(options, "release"):
    command += ("-O2", "-DBUILD_DEBUG=0")
    print("[release mode]")
else:
    options.add("debug")

Math

Math rendering courtesy of katex2

Statistical variance can be computed like so: \(v = \sum_{i=1}^{n} (x_i - \mu)^2\)

Standard deviation is simply the square root of the variance:

\[ \sigma = \sqrt{\sum_{i=1}^{n} (x_i - \mu)^2} \]

same but in a math code block

\[ \sigma = \sqrt{\sum_{i=1}^{n} (x_i - \mu)^2} \]

1here's a footnote with a link to it

2right now it's rendered client-side, can I render offline?