Hacking Images for Markdown / WordPress 1.2

John Gruber gruber at fedora.net
Sun Oct 31 23:07:58 EST 2004


[Again, I'm way behind, but I figured I'd throw my thoughts in on this.]


markdownlist at davidseah.com wrote on 09/26/04 at 10:29am:

> I've been hacking my copy of PHP-Markdown 1.0 for WordPress 1.2 to
> add some nicer image support, and thought there might be some out
> there who are interested. 

My thinking about this is that with the number of features you're
trying to implement, it's no more easy to write or easy to read as a
regular HTML <img> tag.

For example, last week I need to include an image using a custom CSS
style to make sure if had no border. I just threw in the following
raw HTML:

    <img
        src = "http://daringfireball.net/misc/2004/10/df-ipod-banner.png"
        alt = ""
        style = "border: 0;"
    />

If I needed custom alignment or something like that, I'd do the same.

-J.G.


More information about the Markdown-discuss mailing list