remark-embed-images-continued
Embed images with data: URIs, inlining base64-encoded sources. Based on remark-embed-images, which I felt was too restrictive in that all images needed to have a path that began in either
./
or../
to work. Absolute paths failed, web URL:s failed, etc.
Usage
Input:
![A PNG](./foo.png)
Process:
const embedImage = ;const vfile = const MARKDOWN = vfile; ;
Output:
![A PNG](data:image/png;base64,0000...)