Trying to copy static assets from paths in code examples
raaaahman opened this issue · comments
Hello,
I use reveal-md for a lesson about HTML. When I write some code examples like:
<img src="images/logo.png"/>
And I try to build a static website with:
reveal-md --static docs --static-files assets
I have an error:
[Error: ENOENT: no such file or directory, lstat 'images/logo.png'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: 'images/logo.png'
}
Indeed the image does not exists. But this code is supposed to be preformated, not executed.
When building a static website from the Markdown slides, reveal-md will copy image(s) to the output directory (since they are part of the presentation).
It could be an option to disable this, though. But it's a pretty specific use case, no?
It's probably specific indeed, but since I ran into it I feel like opening an issue to see if I'm the only one to be bothered by it.
Thanks for considering my request!
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.