0.0.4 • Published 13 years ago

markitdown v0.0.4

Weekly downloads
17
License
-
Repository
-
Last release
13 years ago

markitdown

A thin wrapper around pandoc to help you convert markdown into web pages.

Dependencies

  1. Node.js (http://nodejs.org/#download)
  2. Pandoc (http://johnmacfarlane.net/pandoc/installing.html)

Install

$> npm install markitdown -g

Usage

Convert markdown to html courtesy of pandoc.
Files will be written with the same name and a .html exension

Usage: markitdown inputFile.md


Options:
  --output-path  Output path.                                  
  --head         file to be included in <head>                 
  --header       file to be included just after opening <body> 
  --footer       file to be included just before end of </body>
  --title        prepend <title> tags with this valu

Examples

As basic as it gets. Convert a single file to html. This will output readme.html.

$> markitdown readme.md

Convert the markdown files in the ./docs directory to html and put the output in the ./docsweb directory.

$> markitdown ./docs --output-path ./docsweb

Convert a single file to html, but insert html content into the top of the page. Useful for common navigation, headers, logos, etc.

$> markitdown readme.md --header ./header.html

Sample output

Wouldn't that be nice! Will add some to the gh-pages branch in the future.

0.0.4

13 years ago

0.0.3

13 years ago

0.0.2

13 years ago

0.0.1

13 years ago