Marking a region for highlighting in Hugo posts

You’ll notice that I highlight short phrases in many of my daily post entries here. I think this makes it easier to scan things later. The HTML markup for this is just a styled <mark> tag wrapping the text to be highlighted. I write my posts in Org-mode and convert them to Hugo-compatible Markdown using ox-hugo. The path from Org-mode to HTML for this is a little convoluted, so I cheat and use a macro to generate the markup....

June 12, 2022 · 208 words

Book logging in Emacs

I’ve kept a list of books I’ve read as a plain text (well, technically, Markdown) file for years. I wrote about it here. The public version is rendered using Github Pages at books.baty.net. This is fine, but at some point last year I also started logging books in an Org mode file, just to see how it felt. It felt pretty good! ...

April 28, 2022 · 316 words