WebBooks/wbb

Attention:

Version 0.3.0 requires grunt ~0.4.0

Web Book Boilerplate

The easiest way of writing books for the web

With the Web Book Boilerplate you have the perfect place to start writing your book! It uses plain old markdown and generates a well structured HTML version of your written words. Since it's sitting on top of Pandoc and Grunt, you can easily make your books available for every platform!

The Web Book Boilerplate is also compatible with Leanpub, so even publishing your books works like a charm.

Follow Web Books on Twitter

Features

  • Grunt to automate all the things!
  • Pandoc-based doc generation
  • Supports most used formats: mobi, epub, HTML
  • Compatible with Leanpub
  • Markdown-based
  • SASS support

Demo

@tspike adapted Scott Chacon's Pro Git! Check the demo here: http://tspike.github.com/wbb-demo/ and the source https://github.com/tspike/wbb-demo

Documentation

Checkout the full documentation right here!

Quickstart

Dependencies:

Clone the repository via git and install the npm dependencies

$ git clone https://github.com/WebBooks/wbb new-book
$ cd new-book
$ npm install

Ready to start! Write your book by creating chapter files in src/chapters. Since v0.2.0 you can specify your chapters folder whereever you want. All you have to do, is to specify your chapter files in src/Book.txtNote that the order of generated chapters depends on the for of file names in Book.txt. Add as many chapters as you want. wbb internally uses Pandoc; checkout their user guide for more information on writing markdown.

When finished writing build your book via

$ grunt wbb:html

to get a ready-to-publish html version.

Following formats are supported:

  • wbb:html - HTML version
  • wbb:epub - epub version
  • wbb:mobi - mobi version
  • wbb:rtf - rtf version

If you want to publish your book on leanpub.com, wbb is your friend. It provides a task to prepare your book for the LeanPub publishing process. After running

$ grunt wbb:leanpub

simply copy the contents of builds/leanpub into your manuscript folder which should be located in your dropbox book folder.

Note: Don't forget to update src/Book.txt and src/Sample.txt!

More information: https://leanpub.com/help/manual#the-booktxt-file

You can also run

$ grunt wbb:publish

to execute all wbb tasks.

Self-Promotion

Like wbb? Follow the repo on Github. Any open questions? Follow Pascal Precht on Github and Twitter.

阅读更多
个人分类: javascript
想对作者说点什么? 我来说一句

WBB专用单文件工具包

2009年04月29日 14.12MB 下载

WBB(Woltab Burning Board) v2.0

2004年06月24日 438KB 下载

微软MSSqlAdmin

2008年08月28日 1.55MB 下载

wbb v2.1.4 完全汉化版

2005年12月19日 1.57MB 下载

WBB(Woltab Burning Board) v2.1.4

2005年12月27日 685KB 下载

WBB(Woltab Burning Board) v2.1.3

2004年08月19日 1.04MB 下载

WBB(Woltab Burning Board) v2.2.1

2005年12月27日 865KB 下载

ctb to wbb 的论坛转换程序

2005年12月27日 4KB 下载

wbb(Woltab Burning Board) 2.13

2005年12月27日 705KB 下载

WBB(WoltLab Burning Board) v2.3.3

2005年07月31日 0B 下载

没有更多推荐了,返回首页

不良信息举报

WebBooks/wbb

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭