Gitbook is a command-line tool (node. JS Library) that we can borrow to make beautiful books using Github/git and markdown, but it's not a tutorial on git.

Source: Internet
Author: User

Gitbook is a command-line tool (node. JS Library) that we can borrow to make beautiful books using Github/git and markdown, but it's not a tutorial on git.

Supports multiple formats for output

Gitbook supports the output of multiple document formats, such as:

    • Static site: Gitbook The default output of this format, the resulting static site can be directly hosted on the GitHub pages service;
    • PDF: Need to install gitbook-pdf dependency;
    • EBook: Need to install ebook-convert;
    • Single HTML page: supports the output of the content as a single page of HTML, but generally used in the conversion of e-book format to PDF or ebook intermediate process;
    • JSON: Typically used for e-book debugging or metadata extraction.

Simple structure

Two files required to make an ebook using Gitbook: readme.mdAnd summary.md。 README.MD is an introduction to e-book, summary.md is used to define the structure of ebook chapters, such as:

Gitbook also supports interactive content embedded in JavaScript, which will support languages such as Python and Ruby in future versions.

Example

    • Learn JavaScript
    • How to make an Operating System

Gitbook Project official website : Http://www.gitbook.io

gitbook GitHub Address: Https://github.com/GitbookIO/gitbook

Gitbook is a command-line tool (node. JS Library) that we can borrow to make beautiful books using Github/git and markdown, but it's not a tutorial on git.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.