## Shared notes from my Org-roam database

A better way to view everything is probably the Categories page .

# Firn

theiceshelf/firn: Org Mode Static Site Generator A website generator for Org-mode, (re)written in Rust Uses Firn: Index - Weakty

# Blockquotes with source in Hugo

This is how I’ve tried making blockquotes look the way I want them on daily.baty.net. It assumes that the last <p> or <a> element is meant to be the source, so treats that differently. I’m terrible with CSS, so mostly just pay attention to the part about last-of-type. With that, the final paragraph or link in the quote is treated as the source/citation. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 blockquote { font-size: 1.

# Possible workaround for ox-hugo error during exports

UPDATE: This was actually a problem with org-roam links in the file. Even valid links would cause the ox-hugo export to fail. Thanks to @kaushalmodi for providing me with a solution. The short version is that I had to set org-id-extra-files so that it included the ~/org/roam directory. (setq org-id-extra-files org-roam-directory) did the trick. I no longer need to use the workaround below. When using ox-hugo to export from a single subtree in a file, any broken links in the file (not just in the current subtree) cause the export to fail.

# Espanso

Text expansion for https://espanso.org This is just something I’m testing Added extension: all-emojis 😄 espanso install all-emojis 🎁 Emoji cheat sheet for GitHub, Basecamp, Slack &amp; more Date and Time formatting Date specifiers​ Option Example Description %Y 2001 The full proleptic Gregorian year, zero-padded to 4 digits. %C 20 The proleptic Gregorian year divided by 100, zero-padded to 2 digits. %y 01 The proleptic Gregorian year modulo 100, zero-padded to 2 digits.

# Leica IIIf

This one is a 1946 IIIc which has been converted to a IIIf.

# Saving a Maildir email as .eml using Mu4e

(This was originally published at baty.net but I wanted a copy here, also) I use Emacs and Mu4e for managing email. Normally having all of my email as text files in Maildir format is fine. There are times, though, when I want to save a copy of an email and put it in DEVONthink with everything else. DEVONthink handles email very well, meaning it previews the headers separate from the messages and formats things nicely.

# Org mode custom link types

I keep “deep” links to a few Mac apps in Emacs and want to click them in order to open specific items in those apps. For example, I use DEVONthink for collecting PDFs and other research for projects or personal use. The DEVONthink URLs look like this: x-devonthink-item://EB2842EA-B147-4F04-9319-F028A7DCD911 To make that a clickable link, I use org-link-set-parameters. Here’s my current setup. 1 2 3 4 5 6 7 8 (after! org ;; custom link types (org-link-set-parameters "brain" :follow (lambda (path) (shell-command (concat "open brain:" path)))) (org-link-set-parameters "x-devonthink-item" :follow (lambda (path) (shell-command (concat "open x-devonthink-item:" path)))) (org-link-set-parameters "message" :follow (lambda (path) (shell-command (concat "open \"message:" path "\""))))) I use doom-emacs , and wrapping these in (after!