It’s just crazy; for so long I have been editing WordPress posts in silly html and only now I discover there is also a great Markdown plugin. Markdown gives a really easy method to control the output of your text. It really is very easy.
The first time I encountered a type of markdown is when I started editing Wikipedia articles in 2001. The Wikimedia syntax is also fairly easy and a lot easier and cleaner to edit text with then plain html. Markdown is a different syntax that came around some years later and is even easier.
I started writing in Markdown when I discovered Jekyll, a static site generator. After that I was missing it badly in a WordPress environment. But now, together with the ability to add and edit posts through the command-line, I can finally do away with the admin interface of WordPress and I can easily ignore my browsers. Yeah!
Update: After saving this post, I notice that wp-cli is not saving it as markdown, maybe that’s a bug? Need to investigate. Also the markdown syntax for linking doesn’t work as expected.
I had never thought I could write a new post and publish it from the command line with WordPress. But here is the first one. With wp-cli tool it’s possible and relatively easy to do so. Of course there is a bit of a learning curve, but once you get it, you’re at it.
It’s a feature I’ve wanted for a while. Since it really enabled good distraction free writing. I’ve done this type of editing of content before with Jekyll, but being able to do this with WP is just great.
Want to know more: check out wp-cli. There is a short description available on their website, but obviously that type of stuff does require some prior command line skills.
I bought myself a new laptop, a Lenovo Edge E130. I have tried to work with one of my four old ones, but I had to give up on them one by one. It was no use trying to revive them anymore and I decided it was time to finally buy something new for myself. It was the first time since 2010.
But I didn’t want to buy a laptop and spend needless money. And with that I mean for example paying extra for a brand or for an operating system that I do not use. After searching for a while I found out you can buy laptops for pretty cheap in Germany. These laptops come without the Windows operating system. Hence you save around 80 euro, and even more compared to what I pay for the same laptop in my own country.
Next was deciding which operating system to install on it. I have been a GNU/Linux-user since 2003 and I have been attached to Arch Linux since 2008 or so. But I had grown tired of Arch as a rolling-release and having to update my system at least every week or else at some point you will have to fix stuff, while at the same time you are just to do something important with the computer. That sucks. I mean, why is it that the word deprecated is almost like the most used on the Archlinux website?
So I went for good old Debian. And it rocks! The installation went as a fly, I just needed to plug in an ethernet-cable to download the firmware for my wireless driver and after that it was all set. Since that time I only have very few updates and my system has never failed on me. The only downside of running Debian is that you don’t always have the lastest software but this doesn’t kill me. The only software I really like to run the latest version is Firefox, and that’s easily to be solved through backports. So that’s it: from now on I will stick to Debian and will recommend it above anything else.