Git Product home page Git Product logo

a-book-departs's Introduction

A Book Depart

First…

npm install

Then…

Extract the Book Contents

Drop your .epub into the ./epub directory and run npm run extract.

Thanks to Jeff Eaton’s 「DANCING QUEEN」, the contents of the .epub will get turned into Markdown and dropped into _src/chapter alongside all your images, while a _data/meta.json will be created with basic information—book title, your name, copyright information, ISBN, former publisher, and cover color. _data/ will also contain JSON files with lists of all the extracted files, links in the copy, and the table of contents.

And finally…

Build the Dev Site

npm start

Build the Production Site

npm run production or just eleventy

Known Issues

Some maniacs (cough) used bold and italics in their code snippets. Unfortunately, the markup responsible for that formatting is going to come through as Markdown, which won’t be interpreted as Markdown on account of being inside codeblocks. Those will have to be cleaned out manually.

Don’t forget to update all your icons and your social preview card thing. Those are all in _src/_assets/img.

a-book-departs's People

Contributors

failedsitcom avatar wilto avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

a-book-departs's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.