All Collections
Author Help
The sample directives aren't working in my book. Why?
The sample directives aren't working in my book. Why?

Keywords: sample, book, not working

Leanpub Support avatar
Written by Leanpub Support
Updated over a week ago

Sample directives only work on parts, chapters, and sections. The directive needs to be on the line above a new part, chapter, or section.

So, this would work:

{sample: true}
# Chapter One

This is included in the sample.

...but this would not work:

{sample: true}

This is included in the sample.
Did this answer your question?