themsaid / ibis

A PHP tool that helps you write eBooks in markdown and convert to PDF.
MIT License
1.97k stars 150 forks source link

HTML required as an output for technical books #29

Open alexellis opened 3 years ago

alexellis commented 3 years ago

Hi, the HTML is required for working through technical labs where you need to copy and paste code samples, my eBook has a lot of samples and unfortunately they are broken up over multiple pages which makes working through the content difficult.

Given that this seems to create HTML then print that to PDF, it should be possible. Can you consider just outputting HTML by default along with the main PDF?

It would be a great addition.

I also would prefer to give a PNG (high-res) than JPEG for the cover image, but had to fork IBIS to achieve that. Can you make it look for either - or move to PNG by default (lossless)?

Alex

roberto-butti commented 3 years ago

I have the same need. I was also doing a "fork", but in the end I chose to have a separate specific process for producing HTML starting from the Markdown files.