Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The --static site option does not copy assets from the source directory #389

Closed
eableson opened this issue Aug 19, 2021 · 6 comments
Closed

Comments

@eableson
Copy link

Currently using the docker container for portability and when I use the --static option, it doesn't copy any assets from the /slides directory.

Current use case is using Obsidian for authoring and using the default import assets to the same directory as the document so it would be useful to track any files referenced to be copied to the root of the resulting static site.

@eableson
Copy link
Author

Followup after looking through the source code in more detail. As noted I'm using Obsidian and by default it uses the wiki style links ![[mypicturepng]]. For the dynamic presentations, I'd written a little preprocessor to convert those links to markdown style links, but it appears that the static site generator only looks at the raw files, not the output from the pre-processor.

@stale
Copy link

stale bot commented Jan 8, 2022

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.

@stale stale bot added the wontfix label Jan 8, 2022
@fidian
Copy link

fidian commented Feb 16, 2022

I am also hitting this problem. A workaround is to ensure only the necessary files are in a folder and use --static-dir to copy that folder.

@stale stale bot removed the wontfix label Feb 16, 2022
@stale
Copy link

stale bot commented Apr 18, 2022

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.

@stale stale bot added the wontfix label Apr 18, 2022
@fidian
Copy link

fidian commented Apr 21, 2022

I've also noticed that using syntax like the following, the resources are not detected and not copied to the destination folder.

<!-- .slide: data-background="bg.jpg" data-background-size="cover" -->

@webpro
Copy link
Owner

webpro commented Jan 2, 2024

Closing this one to clean up the repo a bit.

Should be fixed by @MartenBE in #461.

@webpro webpro closed this as completed Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants