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
- Beautiful built-in templates:
default
,bootstrap
,parallel
- Code highlight
- Markdown TOC supports
- Easy to customize template
- Support GFM( GitHub Flavored Markdown ) syntax
Examples
Installation
Pretty Doc is relied on ruby
environment. Please make sure that your system has ruby
installed.
|
Usage
|
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
- Add docs for how to create a custom template
- Add file toc support
- Optimize templates for Windows
- Add custom fonts and javascripts supports