This project allows you to create a documentation file in markdown. It automatically traduces it to a fancy and customizable HTML via css. A default theme is provided
- Download the code
$ git clone git://github.com/conwetlab/Markdown-Documentation.git
- Install the dependencies
- Python
- Setup tools or pip, for automatic installation of python dependencies
- Python markdown. If you have setup tools installed, execute
$ sudo easy_install Markdown
- Pygments. If you have setup tools installed, execute
$ sudo easy_install Pygments
- Create a documentation.md file, using extended markdown syntax (see section Syntax).
- Modify the style.css according to your needs
- Choose an appropriate style for syntax.css. A list of valid code styles can be found in code style section. To select an specific style, run
$ pygmentize -S [style-name] -f html > syntax.css
- Add the installation directory to the PYTHONPATH
$ export PYTHONPATH=.
- Run
$ make
- A documentation.html file will be created
- Standard Markdown
- Automatic table of contents
[TOC]
- Definition lists:
Item 1 : Definition1 Item 2 : Definition2
- Images with captions:
!![Image Caption][Image Number](http://imageurl.org/image.png)
For more information about the available code styles, go to Pygments homepage
- nokai
- manny
- perldoc
- borland
- colorful
- default
- murphy
- vs
- trac
- tango
- fruity
- autumn
- bw
- emacs
- vim
- pastie
- friendly
- native