Template engines and External Editor Revived #32
Frederick888
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With ExtEditorR and a few lines of Bash code, you can easily post-process your email with a template engine.
(Why? Why not!)
In this example we'll use Mustache and
sed
to insert a signature with date and time.Save the below two files in the same directory and
chmod +x
the Bash script:Configure your Thunderbird email account and use
{{signature}}
as signature text (and uncheck Use HTML as usual).Then update ExtEditorR settings:

Next time you use ExtEditorR, after exiting Kitty/Neovim, you'll see
{{signature}}
got replaced byBeta Was this translation helpful? Give feedback.
All reactions