Create book from markdown files. Like Gitbook but implemented in Rust
Go to file
Mathieu David ffb22c5a3b Update README.md 2015-07-29 14:02:05 +02:00
src Sidebar is now hidden on mobile devices and can be hidden/shown with the button 2015-07-29 13:34:48 +02:00
.gitignore Started to implement init 2015-07-07 02:56:19 +02:00
Cargo.toml added markdown with 'pulldown-cmark', added basic styling, render of the toc is still not completely done 2015-07-28 21:01:13 +02:00
LICENSE Create LICENSE 2015-07-29 01:11:30 +02:00
README.md Update README.md 2015-07-29 14:02:05 +02:00

README.md

mdBook

Personal implementation of Gitbook in Rust

This is still a work in progress...

cli tool

init

If you run mdbook init in a directory, it will create a couple of folders and files you can start with. This is the strucutre it creates at the moment:

book-test/
├── book
└── src
    ├── chapter_1.md
    └── SUMMARY.md

book and src are both directories. src contains the markdown files that will be used to render the ouput to the book directory.

You can also pass a directory to mdbook init to use instead of the current directory:

mdbook init path/to/my/book

Not implemented yet: using --theme flag will create a theme folder with the default theme in src so that you can customize it.

build

Use mdbook build in the directory to render the book. You can also give a path as argument to use instead of the current directory.

lib

Aside the command-line tool, this crate can also be used as a library.


For more information about what is left on my to-do list, check the issue tracker