Skip to content

Commit 85d36b9

Browse files
authored
Contributors manual about images
1 parent 8e692ef commit 85d36b9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/contrib.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,12 @@ And here is the formula in the separate block:
4141

4242
$$E = mc^{2}$$
4343

44+
###Adding images
45+
46+
Small images could be pushed along with texts to the [/img](https://github.com/e-maxx-eng/e-maxx-eng/tree/master/img) subfolder. Let them be in `PNG` format and less than `200kb`. Then you can refer to them inside the article with the tag:
47+
48+
![some image description](&imgroot&/my-image.png)
49+
50+
Here `my-image.png` should be your file name, while `&imgroot&` is some magic which will expand to proper url prefix when shown at the site (so you need not know the precise prefix of github raw data).
51+
52+
Larger images should be posted to some image-hosting, like [PostImage](http://postimage.org) or [ImgUr](http://imgur.com/) - they will then give you the url to insert into the page.

0 commit comments

Comments
 (0)