Advice and answers from the Leanpub Team

Resources Directory Changes
=======================

You will need to make a resources directory if your book is a Markua book.

In order to not break all the paths to your images, just move the images directory inside this resources directory.

The structure should be:

manuscript/Book.txt
manuscript/somebookfile1.txt
manuscript/somebookfile2.txt
manuscript/somebookfile3.txt
manuscript/resources/images/foo.png
manuscript/resources/images/bar.png
manuscript/resources/images/baz.png

This way, paths to images will be some text.

If you don't want to have an images subdirectory of resources, you certainly don't have to!

You can do this:

manuscript/Book.txt
manuscript/somebookfile1.txt
manuscript/somebookfile2.txt
manuscript/somebookfile3.txt
manuscript/resources/foo.png
manuscript/resources/bar.png
manuscript/resources/baz.png

However, this would require a bulk edit of your use of images in your book files, to remove the "images/" from the paths.

Finally, for Markua books using our in-browser editor, you don't need to do anything.

Did this answer your question?