Skip to content

Instantly share code, notes, and snippets.

View ricopicone's full-sized avatar
💭
unlikely

Rico Picone ricopicone

💭
unlikely
View GitHub Profile
@tarleb
tarleb / include.lua
Last active May 1, 2023 14:12
Filter to include Markdown files via code blocks
--- Pandoc Lua filter to include other Markdown files
---
--- Usage: Use a special code block with class `include` to
--- include Markdown files. Each code line is treated as the
--- filename of a Markdown file, parsed as Markdown, and
--- included. Metadata from include files is discarded.
---
--- Example:
---
--- ``` {.include}
@ephsmith
ephsmith / org-airmail.el
Last active September 6, 2023 09:57
org-airmail.el adds an org-hyperlink handler for Airmail email URLs
;;; org-airmail.el - Support for links to Airmail 3 messages in Org
(require 'org)
(org-add-link-type "airmail" 'org-airmail-open)
(defun org-airmail-open (url)
"Visit the Airmail message referenced by URL.
URL should be a vaid Airmail message url retrieved from Airmail with
'Copy Message Link'."