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

how do i include an image in a markdown using spec-up? #66

Open
jiyoonie9 opened this issue Jun 24, 2024 · 3 comments
Open

how do i include an image in a markdown using spec-up? #66

jiyoonie9 opened this issue Jun 24, 2024 · 3 comments

Comments

@jiyoonie9
Copy link

jiyoonie9 commented Jun 24, 2024

including

<img src="resources/foo.png" style="display: block; margin: 0 auto; padding: 1em 0; width: 100%; max-width: 620px;" />

in the markdown results in a broken link

image

in https://daps.dev/

could i do what i normally do in markdown which is
![image info](./resources/foo.png)
?

@jiyoonie9
Copy link
Author

i got around it for now by referencing a hosted site image location (raw.githubcontent.com...) instead

@csuwildcat
Copy link
Member

This definitely works, you just need the right path. I'd check out the other specs with images to find the right pathing.

@jiyoonie9
Copy link
Author

jiyoonie9 commented Jun 24, 2024

an example is not shown in the https://identity.foundation/spec-up/ - would you be able to incorporate it in there as an example of how to reference an image in a relative path? that way you can point to the link for the next person who has the same question as me

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

No branches or pull requests

2 participants