Sha256: cd06183b77e85cff3d387673c9ae14904e5a28117bc253897a8d8bed772afb47

Contents?: true

Size: 1.01 KB

Versions: 1

Compression:

Stored size: 1.01 KB

Contents

MDOC: markdown document converting/management tool
=======================================================

Requirement
----------------

- Ruby 1.9.x
- pandoc in path for docx/rtf conversion
- xelatex in path for pdf conversion

Command line options
-------------------------

Convert a markdown file (`readme.md`) to docx (`readme.docx`):

    mdoc -t docx readme.md

Use `mdoc --help` for more options.

Online Preview
-----------------

Put a markdown document to an temporary url for revew:

    mdoc --preview readme.md

This will open your browser to show a converted document (use documentup).

Meta information in header
-----------------------------

Three different formats are supported:

1. pandoc like three line header:

    % title
    % author
    % date

2. multi-header (separate by first blank line)

    Title: some key
    Author: some key

3. separator: 
  if `% ---` is the first no-blank line, the contents between until the next `% ---` will be treated as header.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mdoc-0.0.3 README.md