← log
entry

Hello, log

This is a sample post. It only exists to show the pieces work — replace it with real content whenever you like (ideally writing straight from Obsidian, in the posts/ folder).

Syntax highlighting

Code blocks get native highlighting (Shiki), with light and dark themes:

type Offset = number;

// append a record to the log and return its offset
function append(log: string[], entry: string): Offset {
  log.push(entry);
  return log.length - 1;
}

And inline code has its own style too.

Obsidian-style callouts

Note

Callouts work via rehype-callouts — the same syntax as Obsidian.

You can add a title

And you can collapse, nest, and change the type (warning, danger, info…).

Writing [[sample-note]] in Obsidian turns it into a real internal link: see the sample-note. If the target doesn’t exist, the link is flagged and the build warns you in the terminal.