Skip to content
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

display images on local relative files #207

Closed
alusiani opened this issue Apr 2, 2015 · 4 comments
Closed

display images on local relative files #207

alusiani opened this issue Apr 2, 2015 · 4 comments

Comments

@alusiani
Copy link

alusiani commented Apr 2, 2015

geany-plugins-markdown-1.24-3 on fedora 21 is unable to read images from local files with relative directory specification. Some other markdown editors with markdown preview (atom, retext) do that.

When downloading a complete web page with Firefox, the images are downloades and are linked in the markdown file as follows:

the geany plugin behaves like if the image is unreachable. It works however if the link is modified as follows:

![](file:///example%20image.png)

@codebrainz
Copy link
Member

The plugin uses third party Markdown processors. Depending on how the package was built, it either uses:
http://www.pell.portland.or.us/~orc/Code/discount/
Or:
https://github.com/jgm/peg-markdown
If those libraries get fixed, I can update the plugin to use the new versions.

@alusiani
Copy link
Author

alusiani commented Apr 2, 2015

Thanks for the quick feedback. I will try to find a spare moment myself to look how the other previewers are handling that successfully, to see if there is any simple way to do that for geany.

@codebrainz
Copy link
Member

I think #501 fixes this.

@frlan
Copy link
Member

frlan commented Jun 22, 2017

Should be fixed. Please reopen if you see any further action needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants