A Plain Blog

A Picture and Some Code

#emacs #code

A figure with a caption, and code coloured by the same theme as the rest of the site. The first post, Hello, World, has the plain version.

Four boxes in a row joined by arrows: Org files, pages, HTML, site.
Figure 1: How a build goes: Org files become pages, pages become HTML, HTML becomes the site.

Some Emacs Lisp#

(defun example-greeting (name)
  "Return a greeting for NAME."
  ;; Strings, keywords and comments each get their colour.
  (format "Hello, %s!" name))

And a shell command#

just example-build && just example-serve