-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to embed local images #18
Comments
Thanks for reporting. This is a duplicate of #2. |
I was unable to figure out a clean of way of doing this in a sandboxed application. If anyone has any suggestions I'd be happy to take them. |
Hit the same issue today with local images... I don't know anything about Cocoa, but maybe a solution would be to change the current working directory to the Markdown file directory when preview is triggered? Maybe then relative paths would render fine, but that's not a very educated guess. |
See this has been idle for a while, but Markoff could detect that opening an image falied and ask the user for permission on the enclosing folder. The Unarchiver does this for the Side note: just stumbled across Markoff and it's exactly what I want in a previewer. Hoping this can be fixed. |
Though not perfect, I'm using this way to solve the problem:
Use a fixed port and remember it. Use
Should work with Markoff now. (Yes, this way I've replaced Evernote with Dropbox/git :-) |
As I am starting work on 2.0 and 3.0, I have been thinking about this. I still haven't figured a proper solution but I've got some ideas. Stay tuned. |
I've got a very simple Markdown file to test this out that just has
![test image](md_assets/tank1.png)
in it. I put the filetank1.png
in a folder calledmd_assets
in the same directory as thistest.md
file. I then open with Markoff and I see...Then, I use Markdown Preview in my Sublime Text editor and see...
Not sure if this is fixed by switching to SwiftMark...but I've installed the latest version from the App Store and am seeing this problem. Thanks!
edit: worth noting that I am able to load external images, and I have tried using the full path to my image.
The text was updated successfully, but these errors were encountered: