All Collections
Author Help
I have a Sample.txt file but no sample book is being created. What can I do?
I have a Sample.txt file but no sample book is being created. What can I do?
Leanpub Support avatar
Written by Leanpub Support
Updated over a week ago

This often happens when someone is writing in Markua. The Sample.txt  instructions are for when you are writing in Leanpub-Flavored Markdown. In Markua, you need to do this differently.

At the start of a chapter you would like to include in a sample, type this:

{sample: true} 

Please note that where the sample starts, you cannot leave a blank line between the line with {sample: true} and the chapter heading on the next line that starts with #.

Here are some more in-depth instructions:

Did this answer your question?