I'd like to write an ebook (epub, mobi) and web based book similar to what you see in many places. Anyone have a solid method, or tool recommendations to do this easily and look good? I'm thinking about using Astro for the web version.
I've used Quarto[1] to build a personal blog and it has been really easy and straightforward. Especially if you want to run some code alongside the post (like Python, R, or Julia). As far as I know, you can also use it to write books and presentations.<p>[1]: <a href="https://quarto.org/" rel="nofollow">https://quarto.org/</a>
I use pandoc to convert markdown to pdf+epub (<a href="https://learnbyexample.github.io/customizing-pandoc/" rel="nofollow">https://learnbyexample.github.io/customizing-pandoc/</a>). For web version, I use mdbook (<a href="https://github.com/rust-lang/mdBook">https://github.com/rust-lang/mdBook</a>) mainly because it comes with user choosable themes and search by default.<p>However, if I had to start from scratch, I'd probably look at Quarto (<a href="https://quarto.org/" rel="nofollow">https://quarto.org/</a>) or Mau (<a href="https://project-mau.github.io/index.html" rel="nofollow">https://project-mau.github.io/index.html</a>)
If you plan on needing much in the way of cross-references (i.e. like in documentation where you're linking to other things all the time), you can use a slightly more advanced markup language like rST (reStructuredText) which is used by Sphinx (though it also supports Markdown). Sphinx docs can be output to a variety of formats, including epub, single-file HTML, PDF via LaTeX, and of course, a multi-page HTML site.
Hey I’ve been working on a little hobby project for easily creating markdown based websites and blogs, using TipTap for the content editor and Git as the storage mechanism.<p>I’d love to hear what you think!<p><a href="https://github.com/elegantframework/elegant-cli">https://github.com/elegantframework/elegant-cli</a>
Most static site generators will work to create a blog. I use pelican [1], which serves my needs.<p>You will likely need to edit your blogposts a little bit before putting them in the book. So I recommend a separate program for that altogether.<p>[1] <a href="https://getpelican.com/" rel="nofollow">https://getpelican.com/</a>
If it’s a technical book, you might like <a href="https://jupyterbook.org/" rel="nofollow">https://jupyterbook.org/</a><p>I haven’t used it myself, so I don’t know how easy it is to use. But I like some books that were written in it.
I've been curious about "Magic Book" for Markdown/HTML/PDF. (EPUB and MOBI on the roadmap.)<p>> The Magic Book Project is an open source project funded by New York University's Interactive Telecommunications Program. It aims to be the best free tool for creating print and digital books from a single source.<p><a href="https://github.com/magicbookproject/magicbook">https://github.com/magicbookproject/magicbook</a><p>I learned about it because it's used for The Nature of Code 2nd Edition.<p><a href="https://github.com/nature-of-code/noc-book-2">https://github.com/nature-of-code/noc-book-2</a>
We have very recently integrated Strapi into our website (we haven't even added a single blog on it yet).<p>I wish I had asked this question here when we were doing our research. There are some great recommendations here. But I like Strapi so far. Their documentation is pretty nice. Even if their onboarding is complicated, the documentation makes it easy to execute.
I have tried a bunch and would love a free OSS option but honestly Leanpub is the best I have found for ebook and printing.<p>For web, I went<p>Mkdocs material (cos I like Python) to Docusaurus (because it has more features) to Astro (because wow at speed and polish).
I used 11ty (eleventy) for my static site blog. (Data Is A Dope)[<a href="https://DataIsAdope.com" rel="nofollow">https://DataIsAdope.com</a>]