Rajat Pawar

Starting this thing

This is a placeholder post so you can see what one looks like. Delete it and write your own.

How to add a post

Copy this file, rename it to your slug (say writing/on-error-handling.html), then change four things: the <title>, the <meta name="description">, the <h1> and the <time>. Write the body inside .prose. Then add a row to writing/index.html and, if you want it on the front page, to index.html.

What the stylesheet already handles

Paragraphs, headings, lists, quotes and code all have styles, so you can write plain HTML and it will look right.

  • Unordered and ordered lists
  • Inline code and fenced blocks
  • Light and dark, following the reader's system setting
Block quotes look like this — useful for pulling out someone else's sentence.

Code blocks keep their own scrollbar rather than stretching the page:

func main() {
	if err := run(); err != nil {
		log.Fatal(err)
	}
}

← All writing