My images don't show at atom.io/packages


#1

I created a readme hosted on github. I used the relative-path image markdown format specified in github help. The images work fine at https://github.com/mark-hahn/live-archive but don’t show on the version at https://atom.io/packages/live-archive. An example image reference is …

![SearchButtons](screenshots/search-form.jpg)

I would expect github formatted markdown to work at atom.io. :slight_smile: Especially since atom.io is using the github repo as the source.

How do I fix this?


#2

Use an absolute url instead, with either:

![Alt](https://github.com/usesr/project/blob/master/screenshot.png?raw=true)
![Alt](https://raw.github.com/user/project/master/screenshot.png)

Supporting gfm doesn’t mean they duplicate every assets referenced in so that yo can use relative urls on atom.io ^^.


#3

OK, thanks.

Github help and a zillion people on stackoverflow say to not use absolute URLs because they don’t support forking. Oh well …


#4

Yeah, the problem with that is that relative URLs don’t support being viewed anywhere other than from the GitHub repository :laughing: In my experience, the “being used elsewhere” is the majority use case.

Now, if we could get @thedaniel to add a feature where relative GitHub URLs worked from the atom.io/packages page … that would be really cool.


#5

Yeah, that’s a problem, hell is paved with good intentions, and sadly internets seems to not care about that :stuck_out_tongue:. Anyone who made a gem or a npm package should know this :).


#6

The U in URI is supposed to stand for “universal”.


#7

Haha, yes, this is a shame, but I didn’t set the rules (and it’s probably better that way :)).


#8

Hi Mark, in my case the README.md is not displayed at all on the package page, just in the repo. I would like to display README.md on the package page as well. Can you help me, please?