← Back to Archives

Got my links back

blogging

(this will not be very interesting to the majority of you... but it's my blog...)

Well, I've been having some issues with Markdown rendering on this blog. I promise that when I get it all working I'll release a b2evo markdown plugin that implements Michel Fortin's PHP Markdown correctly in the b2evo plugin scheme.

Follow up:

What I was seeing is pretty much everything rendering alright except links without anchors ("inline" or "shorcut" links to those familiar with Markdown). For example, this:

This is a [link]. [link]: http://foo.bar/

didn't seem to work (usually, you'd have to do [link][] or [link][link] to remain true to the Markdown syntax documentation).

You can imagine this was a major pain in the ass as many of my posts use this non-feature of Markdown.

At first, I thought this was because Michel Fortin had rewinded that feature out of PHP Markdown as it is not a feature officially in Markdown proper... but the behavior is the same no matter if I use the newer version (1.0.1h) or a vanilla version with (1.0.1). Hmmmm. This is already starting to make my brain hurt... I have no idea what is going on.

A bit later: It turns out that it all works fine if I use version 1.0.2b2. Not sure why... I'll investigate.

UPDATE [2007-08-18T07:54:14]: Yes, it's as I suspected. Michel has commented out the part of PHP Markdown that does this shortcut link population. Now I have a quandry... do I distribute PHP Markdown 1.0.1h with the change made to make this effective or do I distribute it vanilla with a patch that people can apply to it?