Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.16 KB

README.md

File metadata and controls

40 lines (24 loc) · 1.16 KB

Gatsby Starter Book

A gatsby starter focused on simplicity to help you create books.

  • 📖 Create Book from markdown files
  • 🖼 Generate PDF and Epub

PDF Example

Epub Example

How to use

  1. First git clone and cd into the folder
git clone git@github.com:SaraVieira/gatsby-starter-book.git my-book && cd my-book
  1. Edit your book in the book.md
  2. Set you book properties in bookInfo.js
  3. Run yarn build (for netlify please use yarn build:site)
  4. To get the .mobi file download the Kindle Previewer and drag your .epub file and it creates a kindle compatible file.
  5. Profit??

Why?

I built this in order to be able to publish a book I wrote and I think it may be useful for someone so I made it OSS.

Where can I edit the syntax highlight theme?

You can change it in the pages/index.js

Why not a theme?

I want you to be able to edit everything as it will be your book so I think this workflow makes sense


Any issues please make a PR or file a bug