groc icon indicating copy to clipboard operation
groc copied to clipboard

Request: Copy referenced local images

Open jessefulton opened this issue 12 years ago • 0 comments

This is a request to copy over local images included in markdown files (or comments.) I can see two ways this could be done: simplify specify a new option to copy files/folders (a "to" and a "from") for static assets; or some mechanism to do this automatically by finding files and copying them when encountered in the markdown comments.

For example, if the following markdown code is encountered:

![reference image](./images/reference.jpg)

Groc could look at the URI and determine it is a local file. Then it can either store a collection of all of those images and copy them over at the end of the process (and optionally rewrite the link URLs).

Thoughts? (Right now I'm simply copying my "images" folder over using a bash script.)

jessefulton avatar Aug 21 '12 20:08 jessefulton