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

Counterintuitive path for images #67

Open
bvreede opened this issue Sep 8, 2023 · 0 comments
Open

Counterintuitive path for images #67

bvreede opened this issue Sep 8, 2023 · 0 comments

Comments

@bvreede
Copy link
Collaborator

bvreede commented Sep 8, 2023

Images used in the yaml header or chapter headers of mystory.md can be referred to directly as imagename.png when placed in /static/stories/_mystory.

However, when images are used in slides and in the text their path is different:/stories/_mystory/imagename.png.

The getContent method (see layouts/story.js) is used on images in the headers, but not inside slide or text content. Can we add that functionality?

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

1 participant