Ask HN: Best way for a Markdown based blog and eBook?
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.
25 comments
[ 4.4 ms ] story [ 58.7 ms ] threadI 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.
[1]: https://quarto.org/
I mean writing is the most important part of writing a book.
Good luck.
I’d love to hear what you think!
https://github.com/elegantframework/elegant-cli
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.
[1] https://getpelican.com/
The fact that it's in Go, and therefore distributed as a single binary, also makes installation and use anywhere you want it a cakewalk. YMMV on how important that is to you, but I like to keep my tools light and nomadic when possible.
> 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.
https://github.com/magicbookproject/magicbook
I learned about it because it's used for The Nature of Code 2nd Edition.
https://github.com/nature-of-code/noc-book-2
>This project is for you, if:
... (last bullet point):
>You want that command-line tool be be written in Node-only. No more XSLT.
Put me off, personally.
https://squidfunk.github.io/mkdocs-material/
For web, I went
Mkdocs material (cos I like Python) to Docusaurus (because it has more features) to Astro (because wow at speed and polish).
However, if I had to start from scratch, I'd probably look at Quarto (https://quarto.org/) or Mau (https://project-mau.github.io/index.html)
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.