Sha256: fea6aba535337c9c25d5d66e3ab3250e51da8e85210d558651992f685864b096

Contents?: true

Size: 1.01 KB

Versions: 2

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

2 entries across 2 versions & 1 rubygems

Version Path
mdoc-0.0.2 README.md
mdoc-0.0.1 README.md