
: Re: Format for ebook that contains code What's a good format for making an ebook that contains code. Is markdown a good option or is there something better available? I may want to convert it
You can use LaTeX. Packages like listings or minted can be used to include code snippets and syntax highlighting. Both are supported by tex4ht, so conversion to html and then epub is possible. And as bonus, you can get perfect PDF file.
If you are interested, I have a sample document (in Czech language, but I hope the code is readable) where packages minted for syntax highlighting, biblatex for bibliographies, and glossaries for acronyms were used: TeX source and generated html. For conversion, make4ht was used. make4ht is frontend for tex4ht which allow you to use your own build scripts and it has some filters for generated html cleanup.
There is also another tool, tex4ebook, based on make4ht, which can be used to convert LaTeX to epub, epub3 and mobi formats. Note that I am the author of make4ht and tex4ebook.
Free books android app tbrJar TBR JAR Read Free books online gutenberg
More posts by @Ted

: Epub file not turning pages on nook devices OK, I'm having a very strange problem with a reflowable epub file I'm creating. It displays fine on most reading systems, but on the Nook, it will