Live data from Hacker News

Converting Markdown to ePub or Mobi Using Pandoc

themythicalengineer.com

1–10 of 56 posts

Re: Converting Markdown to ePub or Mobi Using Pandoc

#5
post #4

Is the resulting typesetting any good?

Epub is just html with css and images in a zip file. So the quality of the typography will largely depend on the renderer, not the file itself.

The end result would largely depend on the quality of generated HTML and CSS, no? That's what the OP is most likely asking about.

Re: Converting Markdown to ePub or Mobi Using Pandoc

#6
The tutorial is presented well. My biggest takeaway was that one can use 'Deepnote' to run Linux commands.

If you are interested in knowing how to customize `pandoc` for generating PDF/EPUB, I have a tutorial [0] based on books I've written. I also have links at the end with related resources, including tools others than `pandoc`.

[0] https://learnbyexample.github.io/customizing-pandoc/

Re: Converting Markdown to ePub or Mobi Using Pandoc

#7

Good stuff. When I wrote an eBook I found the extra features of reStructuredText to be useful (index, glossary, graphviz & Tikz environments, etc.) and wrote a sort of similar post. https://digitalsuperpowers.com/blog/2019-02-16-publishing-eb...

Yeah the rSt markup is pretty idiosyncratic and both anal-retentive and a bit inconsistent (e.g. it can be hard to internalise where it does or does not want blank lines) but Sphinx is an actual document system, having to work with markdown for anything beyond a single file quickly gets painful.

Re: Converting Markdown to ePub or Mobi Using Pandoc

#8
post #5
post #4

Earlier quoted context omitted.

Epub is just html with css and images in a zip file. So the quality of the typography will largely depend on the renderer, not the file itself.

The end result would largely depend on the quality of generated HTML and CSS, no? That's what the OP is most likely asking about.

The result is always an epub/mobi so the source doesn’t really matter.

Re: Converting Markdown to ePub or Mobi Using Pandoc

#10

Is the resulting typesetting any good?

I would like to have better type setting. It is a pleasure to have a nicely layouted and set page. My layman's take would be that the rendering engines have headroom to improve but most readers don't really care.
Post reply on HN