toland / qlmarkdown

QuickLook generator for Markdown files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

base tag and img location problem

iamssen opened this issue · comments

markdown.m

  • 25 line "<base href=\"%@\"/>"
  • 29 line styles, url, [NSString stringWithUTF8String:output]];

base tag print "<base href=\"http://localhost/Users/.../sample.md\"/>"
it is make problem not print image

i fix it source

  • 25 line "<base href='file:///%@/' />"
  • 29 line styles, [url.path stringByDeletingLastPathComponent], [NSString stringWithUTF8String:output]];

 2013-03-28 4 58 01

Just want to say that I think I have this issue too. Basically I have png files in the local folder which I reference with ![Caption](PngFilename.png) and in the markdown preview window I just see "Caption", rather than the PNG itself.

I have this issue too and I've been trying to fix it, but haven't been able to. Unfortunately #21 doesn't appear to fix it.
Marking as verified. At least we know it's really broken. 😄