Jas Suri

Writing a post in plain HTML

Every post is a single HTML file in blog/posts/. Copy this file, rename it, and replace the content. Here's what the built-in styles look like.

Headings

Use <h2> for sections and <h3> for sub-sections.

A sub-heading

Regular paragraphs read comfortably at this width.

Code blocks

Inline code like const x = 42; and fenced blocks:

function greet(name) {
  return `Hello, ${name}!`;
}

Quotes

Keep it simple. A blog is just words on a page.

Images

Drop images in assets/images/ and reference them:

<img src="/assets/images/my-screenshot.png" alt="Description" />

Links

Link to the home page, other posts, or external sites.

← Back to all posts