Blogging With (Only) Emacs

If you’re an Emacser and a blogger, you will, of course, want to write and publish your posts from within Emacs. If you’re using WordPress, org2blog provides an excellent solution. You write your posts in Emacs and Org-mode as usual and push a couple of keys to publish them to WordPress. Of course, not everyone likes WordPress and may prefer to maintain a website with static posts. In many ways that’s a lot simpler and if you don’t have complex requirements may be the best solution.

Over at Opensource.com, Sachin Patil has a nice post that explores publishing a blog completely from within Emacs. There are plenty of solutions that are sort of like this that use Django, Hugo, or Jekyll but Patil wanted a solution that required only Emacs. Not surprisingly, Emacs has a solution for that. The solution is to write your posts in Org-mode, leveraging all its formatting capabilities, and then use Org-publish to convert the posts to HTML and push then to the server.

There are ways to include and publish a site CSS file to make your site your own. Patil covers all this in his post. If you’re looking to start a blog and would like to handle everything in Emacs, take a look at Patil’s post. It’s amazing how much one can accomplish with just Org-publish. The nice thing about this approach is that you have total control over how you publish to your site and what the end result looks like.

This entry was posted in General and tagged , . Bookmark the permalink.