Home | About me | Miniblog | Playground
Español | Italiano
Published January 16, 2023

Manage a blog using org-mode

Learn org! and evil

Get the basics right; make tables, codeblocks, watch simple tutorials and change the basic look and feel of your emacs enviroment. In other words, get comfortable! First of all, please take a look at my doom emacs configuration. I tried my best to keep it simple and vim like easy! So you can just put the config.el and change keybinding, since I use the package evil-leader which is not needed if you are a emacs wizard but comming from vim it is a great start.

css

This page is simple css. Think about it like a config file for making “aesthetic” changes. Not an web developer but this is just a getting started friendly definition.

emacs classes

This is another reason to leave markdown and use plain html or, even better, org-mode.

.example

this is were you put a simple ’code block’ with ’ :’ (1 space and a colon).

Like this, use the inspector of your browser (F12) and look the class

Macros

Start using macros inside org files! This saves you the pain of touching your emacs config. Unless you use…

org-publish

Unless you use org-publish. Like all emacs tools, tricky to understand the first time, but this is looks amazingly efficient I can’t let this one slip out. Simple to look at, but yes you need to touch the config file. More on that here and over here is a sample configuration, which you should copy paste and then change.

Getting started

This is the IMPORTANT PART, pay attention. Requirements:

You can start sorting later, let’s make an example! Say we chose “~/Docs/Blog” as a working directory and “~/Github/pages/”

My personal thoughts

No I don’t love emacs, but I knew the advantages of org-mode, so I use org-mode for writting purposes. My goal is to put just the right ammount of efort on emacs but don’t end up as a lisp programmer. I like vim much more because its simplicity; but, let’s be real, org-mode is a killer feature because of its flexibility. You don’t need to learn troff/groff, latex, html, etc… at least not in a large ammount or from scratch to start using those tools. I have planned making a tutorial on how to use org-mode for lazy people (doom emacs), and be efficient. If you are a complete noob, I recommend to learn vim and not depend on this really complex lisp interpreter.

This work is licensed under CC-BY-SA 2.0, unless specified otherwise. Year: 2022