btholt / btholt/generator-mdpress

Gracefully handle images.

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
bug enhancement
Dominant language
JavaScript
Stars
8
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Because Grunt is running the instance as a server as opposed to a file:///, it creates issues with having images in the base directory.

While I figure out the best way to handle it, the workaround is to put your images in the _project-name_/ directory somewhere and link to those. It's confusing and messy but it works right now.

I'm either going to make simple symlink (which I'll have to wait for the new version of Yeoman to come out so I can use the spawnCommand method), make a Grunt task to do it either by copying (I don't like the duplication of data) or symlinking (I don't like this because it will do it every time the code runs which is wasteful), or I can write it directly into mdpress and submit it as a pull request.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.