asciidoctor / asciidoctor-leanpub-converter

A backend for AsciidoctorJ to generate Leanpub-flavoured Markdown
Apache License 2.0
16 stars 9 forks source link

Support for Sample.txt #12

Closed ysb33r closed 9 years ago

ysb33r commented 9 years ago

Leanpub has the concept of a Sample book. Let's make it simple for authors to decide which chapter will be included. Add a leanpub metadata section to chapters & preface.

[preface,leanpub="sample"]
== preface

[chapter,leanpub="sample"]
== Chapter