asciidoctor / asciidoctor-leanpub-converter

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

Support Frontcover Image #6

Closed ysb33r closed 9 years ago

ysb33r commented 9 years ago

Converter should check for a front-cover-image attribute and then copy the file across to manuscript/images/title_page.[png|jpg]. Other formats should log an error and continue processing.

Format: :front-cover-image: image:frontcover.jpg[Front Cover,1050,646]. (In first iteration, size will be ignored).

See also: https://leanpub.com/help/author_faq

Note: Borrowing the attribute from epub.

ysb33r commented 9 years ago

Fixed: f003fe5dc6a834660923cf71372a67508387a7e1