Skip to content
Sign upLog in
← Back to Community

Teams For Education - Images in Markdown

Profile icon
SamVan5

I'm experimenting with Teams for Education. As the documentation recommends, I'm writing my instructions in a README.md markdown file.

I'd like to add an image to my instructions. However, it seems that repl.it only supports a subset of markdown, where images are not allowed. Is this correct?

Answered by Coder100 [earned 5 cycles]
View Answer
Voters
Profile icon
Mrs-James
Profile icon
SamVan5
Comments
hotnewtop
Profile icon
Coder100

So:

![alt text](/image.png)

does not work?

oh hey, it does, on your top right ;)

image

Profile icon
SamVan5

@Coder100
Are you, by any chance, looking in repl.it Classrooms? I'm talking about the new Teams for Education, where you just have basic markdown files to work with.

![alt text](/image.png) doesn't seem to work.

Profile icon
Coder100
Profile icon
Coder100

hmm that's so weird, try this repl

apparantly relative paths don't work hm

@SamVan5

Profile icon
SamVan5

@Coder100
alright, weird, are some domains blocked or allowed? images from my own domain don't seem to work here...

Profile icon
Coder100

ok, conclusion
relative URLs do not work (paths like ./image.png)
The reason for this is because I think repl.it renders them like HTML, so it tries to access it from repl.it's domain...

use absolute paths
something like paste.pics should be more than enough for this :)


@SamVan5

Profile icon
Coder100

just made a comment on it, does it make sense?

@SamVan5

Profile icon
SamVan5

@Coder100
yeah, thx! All clear now :-) Just weird that images from my own website can't be used as an absolute url in repl.it, but from paste.pics are no problem :-S

Profile icon
SamVan5

@Coder100
Ok, I'm stupid... didn't check if I was using http or https...

Profile icon
Coder100

oh lol me too

@SamVan5

Profile icon
RemingtonJones

Thanks for the information. Thank you very much for the advice. As for education and the learning process, I would like to draw your attention to the quality of the services you use. At https://papersbattle.com/best-research-paper-writing-services/ you can read information about the various services that help students write research papers.

Profile icon
anglinajolie

Solution2Pass' MCIA-Level-1 MuleSoft Certified Integration Architect - Level 1 review guides and dumps are giving the best assistance to an incredible number of clients all around the world for test readiness and pass it. The brilliant MuleSoft MCIA-Level-1 achievement rate utilizing our imaginative and the test situated items made a huge number of aggressive IT experts our faithful clients. Your prosperity is dependably at our first concern and for that our specialists are generally bowed after improving our items.

This exceptional open door is accessible through our MuleSoft MCIA-Level-1 testing motor that gives you genuine test like practice tests for pre-test assessment. The training questions and answers have been taken from the past MCIA-Level-1 test and are probably going to show up in the following test as well. Doing these training tests mean boosting your possibilities getting a splendid score. https://www.solution2pass.com/MCIA-Level-1-questions.html

Profile icon
SixBeeps

You can use images in MD files by using this syntax:

![image](https://link/to/image.png)
Profile icon
SamVan5

@SixBeeps
I've tried that, but it shows just empty (not even the 'wrong image' icon). I've tried this with multiple images, tried to add them locally to the project, linking them with absolute and relative paths, ... nothing :-(

Profile icon
SamVan5

@SixBeeps
nvm, didn't check if I was using https ...

Profile icon
wjhudson

@SamVan5
Did you ever get images working that are locally part of the repl? That's what I'm currently trying to do, with no success.

I have a file img.png in the root of my repl and in the README.md (also in the root dir) I have:
![image](./img.png "title")
and no success, it displays nothing.