Skip to content

Resolving Images #22

Open
Open
@skipjack

Description

@skipjack

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions