Publish Org Mode file to Write.as
So I decided to give it a try and I added those lines to my Emacs configuration file :
(setq epa-pinentry-mode 'loopback) (use-package writefreely :ensure t :hook org-mode :config (load (expand-file-name "writefreely-auth-token.el.gpg" user-emacs-directory)))
The writefreely-auth-token.el.gpg file contains the token which allows writefreely.el to publish on my behalf. Here is its content :
;;; -*- epa-file-encrypt-to: ("e-mail address used to generate the key") -*- (setq writefreely-auth-token "my-token-I-should-keep-secret")
I encrypted this file thanks to instructions found on masteringemacs.org. (It was the opportunity to generate my GnuPG key!)
Disclamer : this article was originally written in Org Mode with Emacs ;–)
Thank you very much for reading this article!
Don't hesitate to give me your opinion, suggest an idea for improvement, or ask a question! To do so : contact me.
Don't miss out on the next ones...
- articles via Mastodon @firstname.lastname@example.org and RSS
- screencasts via Peertube email@example.com and RSS
And more importantly, share this blog and tell your friends it's the best blog in the history of Free Software! No kidding!