Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
2

Teams For Education - Images in Markdown

SamVan5
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?

2 years ago
You are viewing a single comment. View All
1
Coder100
Coder100

So:

![alt text](/image.png)

does not work?

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

image

2 years ago
2
Coder100
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

2 years ago
1
SamVan5
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.

2 years ago
1
Coder100
Coder100

hmm that's so weird, try this repl

apparantly relative paths don't work hm

@SamVan5

2 years ago
1
SamVan5
SamVan5

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

2 years ago
1
Coder100
Coder100

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

@SamVan5

2 years ago
1
SamVan5
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

2 years ago
1
SamVan5
SamVan5

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

2 years ago