webpro / reveal-md

reveal.js on steroids! Get beautiful reveal.js presentations from any Markdown file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

commented

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.