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

Resolving Images #22

Open
skipjack opened this issue Jul 24, 2017 · 0 comments
Open

Resolving Images #22

skipjack opened this issue Jul 24, 2017 · 0 comments

Comments

@skipjack
Copy link

skipjack commented Jul 24, 2017

Ok so first off, awesome project. I think I'll be able to use this to do some pretty cool stuff however, after migrating from markdown-loader, I'm seeing some issues with image resolving. I saw some discussion about images in #5 but I think my issue is different.

With the combination of the markdown-loader and html-loader any local image references within the markdown were resolved, loaded, and emitted to the output directory. So for...

![some image](./images/some-image.png)

That image was processed through the configured .png loader and the url replaced. I'm not seeing that happen by default in this loader and I'm not sure where I might configure it to do so as the markdown-to-html parsing happens internally. Maybe local image references should be turned into import statements as well which would return the url to inject? Similar to the behavior of the imports frontmatter directive.

Any advice would be much appreciated. I'm happy to try to help add this functionality.

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

1 participant