sachac's Blog

sachac's Avatar Image
Interests include: #Emacs, #OrgMode, #elisp, #nodejs, #python, #sketchnotes, #parenting, #cooking, #gardening, #knitting, #sewing, #lego, #captioning, #plover #steno, and #stoic philosophy. Originally from Manila, now in Toronto. Married to a Vim guy (go figure) and raising a 7-year old (editor preference unknown), along with two very loud cats.

Blog: https://sachachua.com (mostly Emacs News these days), sketches: https://sketches.sachachua.com. I also maintain planet.emacslife.com and subed.el
← All posts

I want to make it easier to microblog the current Org subtree.

(defun my-mastodon-toot-subtree ()
	"Compose a buffer and include the current subtree."
	(interactive)
	(let ((text (org-export-as 'md t nil t)))
		(mastodon-toot)
		(insert text)))

The automatic link to my configuration is handled by a function that I add to org-export-filter-body-functions:
https://sachachua.com/dotemacs#config-footer

This is part of my Emacs configuration

To like or reply, open original post on Emacs.ch