Login  Register

Re: How can I convert ebooks to markdown format properly?

Posted by documentationchronicles on Nov 01, 2018; 8:17pm
URL: https://discuss.asciidoctor.org/How-can-I-convert-ebooks-to-asciidoc-format-properly-tp6577p6579.html

Thanks,mojavelinux.My problem is that conversion tools lose code block style on PDF,EPUB to HTML conversion phase. I tried pandoc,calibre but neither of these programs maintain code block style.They  put code blocks inside of  paragraphs tags and it looks like the paragraph content like the following:

Note: I will also create feature requests on calibre bug report page and pandoc github page . I'm open for alternative method suggestion to convert books to asciidoc.