Posts Tagged: meta


27
Feb 10

Markdown in WordPress

Alright, after using various WYSIWYG editors in WordPress (which I use to to write this blog), I got fed up and decided to switch to Markdown. There are a couple of plug-ins to make this happen, in fact I’m using three, together they make using Markdown pretty nice in wordpress.

  • “Markdown for WordPress and bbPress”, this plug-in (just search for it through the wordpress plugin manager) contains the PHP Markdown parser, which supports the whole of Markdown, plus a few extras such as footnotes1. It parses every post as Markdown, including the old ones, which wasn’t a problem for me because the HTML of previous posts is also Markdown and seems to look OK.
  • “WP MarkItUp”, this plug-in contains a reasonable editor for editing Markdown, it doesn’t do much, but has some buttons for common Markdown markup (hahaha), such as headings, bold, italic and so on. The plugin is based on MarkItUp.
  • “highlight.js”, is a pure-javascript syntax highlighter that automatically detects the language of code blocks, which is exactly what you need in Markdown, because there’s no way to mark a code block with a language name. You cannot install this plugin through the plugin manager, as far as I’m aware, so you have to download it and install it yourself (see the README of the download). Example of syntax highlighting (of Javascript):
for(var i = 0; i < ar.length; i++) {
  console.log(i);
}

Now let’s see how this works in practice.


  1. Which look like this, in case you were wondering. 


17
Nov 09

How About A Nice Cup Of…

HowAboutaNiceBigCupofShuttheFuckUp

The amount of shit I got the past week is quite unbelievable. I actually had to block a particular commenter from my website, because he wouldn’t stop calling me, well, let’s say his vocabulary was extensive. I thought, maybe it’s Rails people, that must be it. But, no, I don’t think so. Because after yesterday’s post, which is not really attacking Rails in particular, this happened:

stfu

Now I don’t want to act all sensitive, but… come on!

Or am I just whining here?


29
Jul 09

Revival

Yes, after a few months I decided it was a good idea to revive my website. And to do it properly I moved all of the content that I posted on ZefHemel.com and Zef.me before over into one website. Also, all links pointing to ZefHemel.com now redirect to the correct post on Zef.me. I also added a Publications page, which my boss told me to do.

Who knows, I might in fact post some fresh content soon! But let’s not get too crazy just yet. Let’s first have lunch.