Pretty Doc

Pretty Doc is quick and convenient markdown to html converter with beautiful templates, aiming to provide a simple tool to generate beautiful docs for common use.

Features

Examples

Template Parallel

Installation

Pretty Doc is relied on ruby environment. Please make sure that your system has ruby installed.

gem install pretty_doc

Usage

# Usage: pretty_doc [options] files
#
# Options:
#
#     -o, --output [path]              output to a given folder
#     -t, --template [folder]          choose a template
#     -l, --line-numbers               enable line numbers for codes
#     -v, --version                    output the version number
#     -h, --help                       output usage information

Generate TOC

Use [TOC] or {:toc} in your markdown file to generate table of contents and use [NO_TOC] or {:.no_toc} to ignore specific header.

Example:

Pretty Doc
==========
{:.no_toc}

+ __toc_line__
{:toc}

## Feature

## Usage

Create a custom template

template structure

├── init.rb
├── style.scss
└── template.html.erb

TODO