Giter Site home page Giter Site logo

makepub's Introduction

Epub的制作工具

(尚未完成)

一个专门为多看阅读客户端优化的制作ePub工具。

主要支持通过Markdown格式制作ePub,同时对Markdown扩展了部分语法以生成多看公开的私有样式(参见: 多看电子书规范扩展开放计划)。

TODO

  • !! 资源路径的自动修正
  • ! 辅助生成 BOOK
  • ! 辅助生成 template
  • ! READ.md
  • 打包时生成 tocs 文件
  • less
  • duokan:用 jQuery 去特化 等,而不是 markdown
  • 减少 node 的依赖
  • 提交到 npm
  • 持续集成
  • ......................
  • 只更新改动?
  • 多线程?似乎没有必要
  • ......................
  • makemobi?

功能(特色)

  • 支持添加自定义js脚本再加工
  • 支持转换less文件
  • Markdown相关
    • 支持多看的全屏插图页、富文本脚注、交互图
    • 支持代码语法高亮
    • 支持TeX转MathML(多看似乎支持MathML)

安装

> git clone https://github.com/DrsExplorer/epubtools.git
> cd epubtools
> npm install
> npm link

开始制作

.... .... ....

命令帮助

 makeepub for duokan
 
 usage: makeepub [options] <epub_dir>
 
 options:
   -b (_build)  编译路径 
   -m  metadata路径(默认=out_dir)
   
   -c 只编译,不打包
   -p 只打包,不编译
   
   -a 全部更新,默认只更新改动文件

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.