Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Referencing images in markdown #731

Closed
theduke opened this issue Sep 5, 2016 · 2 comments
Closed

Referencing images in markdown #731

theduke opened this issue Sep 5, 2016 · 2 comments

Comments

@theduke
Copy link
Contributor

theduke commented Sep 5, 2016

Lets say I have a blog post and some images for the post in:

content/my-post/index.md
content/my-post/image1.png

How can I get a webpack require url for the image into my markdown content?
Does anyone have a good approach for this?

@MoOx
Copy link
Owner

MoOx commented Sep 5, 2016

We need to handle this in phenomic loader. Feel free to track #147 for this.

This is kind of tricky since this will depend on the renderer you are using, but I guess it should not be that hard, especially for markdown with remark, since an AST is available!

@MoOx MoOx closed this as completed Sep 5, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants