qlmarkdown icon indicating copy to clipboard operation
qlmarkdown copied to clipboard

Can't preview local images

Open nunoh opened this issue 9 years ago • 9 comments

Any way to get this working, some config setting I might be missing? Thanks!

nunoh avatar May 07 '15 13:05 nunoh

I have looked into this and it's somethings to do with the path of the images. I don't have my Objective-C development environment setup currently, but I could look back into it.

tarwich avatar May 07 '15 14:05 tarwich

When you said

it's somethings to do with the path of the images

I remembered to try with full path, rather than just relative ones, but it still didn't work.

If you could look into it that would be great :bow:

nunoh avatar May 07 '15 18:05 nunoh

I faced the same issue :disappointed_relieved:

PD: Amazing utility thank you! :+1:

mitogh avatar Oct 16 '15 11:10 mitogh

@tarwich Did you have the chance to have a look? I am facing the same problem since I updated to El Capitan. Before, I was working on Mountain Lion and it worked like a charm. Maybe some user access rights problem? My .md file has a statement like ![DeviceInHand](doc/images/intro_breakout.jpg) Obviously, this relative path is existing and the jpg is also there. Any ideas?

sy2002 avatar Jun 03 '16 14:06 sy2002

I looked into this and it turns out that QuickLook stuff is sandboxed. OSX Doesn't give it permission to see local files. I am sure there's a way, but I gotta look into it a bit more.

On Fri, Jun 3, 2016 at 9:41 AM sy2002 [email protected] wrote:

@tarwich https://github.com/tarwich Did you have the chance to have a look? I am facing the same problem since I updated to El Capitan. Before, I was working on Mountain Lion and it worked like a charm. Maybe some user access rights problem? My .md file has a statement like DeviceInHand Obviously, this relative path is existing and the jpg is also there. Any ideas?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/toland/qlmarkdown/issues/51#issuecomment-223597728, or mute the thread https://github.com/notifications/unsubscribe/AAUZRVJbhjJ8dLEE5mN8TJV7uLUUmNK1ks5qID0ugaJpZM4ESe8L .

tarwich avatar Jun 03 '16 15:06 tarwich

@tarwich Thank you for the fast feedback! If it is sandboxed, then the solution might be: set the target path of the html renderer to a place within the sandbox directory: The sandbox profiles are here: /usr/share/sandbox and the profile files are quicklookd.sb and quicklook-satellite-*

sy2002 avatar Jun 05 '16 01:06 sy2002

I would like this feature too! It would really help my workflow generating markdown notebooks in RStudio to see the figures and charts in each notebook. Thanks for such a nice extension :-)

datarichard avatar May 31 '18 06:05 datarichard

Did anybody find a workaround for this? :-)

mikez avatar Sep 18 '20 23:09 mikez

@mikez Nope. It's off limits still.

yarub123 avatar Apr 13 '23 12:04 yarub123