GithubHelp home page GithubHelp logo

isabella232 / markdown-documentation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from conwetlab/markdown-documentation

0.0 0.0 0.0 112 KB

Markdown extensions to produce HTML code documentation. It is an environment prepared to offer fancy HTML outputs for extended markdown documents

Home Page: http://exlabos.blogspot.com

Python 100.00%

markdown-documentation's Introduction

MarkDown - HTML Documenter

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 and Installation

  • Download the code
    $ git clone git://github.com/conwetlab/Markdown-Documentation.git
  • Install the dependencies

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

Usage

  1. Create a documentation.md file, using extended markdown syntax (see section Syntax).
  2. Modify the style.css according to your needs
  3. 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
  1. Add the installation directory to the PYTHONPATH
    $ export PYTHONPATH=.
  1. Run
    $ make
  1. A documentation.html file will be created

Valid Syntax

    [TOC]
  • Definition lists:
    Item 1
    :   Definition1
    Item 2
    :   Definition2
  • Images with captions:
    !![Image Caption][Image Number](http://imageurl.org/image.png)

Available Code styles

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

markdown-documentation's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.