Sha256: 807ef7ec05f1987e19f9f303a213458bc92b2be46d65d8b6859d34409c8393d5

Contents?: true

Size: 1.85 KB

Versions: 3

Compression:

Stored size: 1.85 KB

Contents

# kramdown-man.1 "April 2013" kramdown-man "User Manuals"

## DESCRIPTION

A [Kramdown][kramdown] plugin for converting Markdown files into man pages.

## EXAMPLE

    require 'kramdown'
    require 'kramdown/man'

    doc = Kramdown::Document.new(File.read('man/kramdown-man.1.md'))
    File.write('man/kramdown-man.1',doc.to_man)
    system 'man', 'man/kramdown-man.1'

## SYNTAX

### FORMATTING

    `code`

`code`

    *emphasis*

*emphasis*

    **strong**

**strong**

### PARAGRAPHS

    Normal paragraph.

Normal paragraph.

    `command` [`--foo`] *FILE*

`command` [`--foo`] *FILE*

    `--tagged`
      Text here.

`--tagged`
  Text here.

### LINKS

    [website](http://example.com/)

[website](http://example.com/)

    [bash](man:bash(1))

[bash](man:bash(1))

    Email <bob@example.com>

Email <bob@example.com>

### LISTS

    * one
    * two
    * three
    
      extra paragraph
    

* one
* two
* three

  extra paragraph

    1. one
    2. two
    3. three
    
       extra paragraph
    
1. one
2. two
3. three

   extra paragraph

### HORIZONTAL RULE

    -------------------------------------------------------------------------------

-------------------------------------------------------------------------------

### BLOCKQUOTES

    > Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
    >
    > --Antoine de Saint-Exupéry

> Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
>
> --Antoine de Saint-Exupéry

### CODE BLOCKS

        #include <stdio.h>
    
        int main()
        {
    	    printf("hello world\n");
    	    return 0;
        }

    #include <stdio.h>

    int main()
    {
	    printf("hello world\n");
	    return 0;
    }

## AUTHOR

Postmodern <postmodern.mod3@gmail.com>

[kramdown]: http://kramdown.gettalong.org/

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kramdown-man-0.1.8 man/kramdown-man.1.md
kramdown-man-0.1.7 man/kramdown-man.1.md
kramdown-man-0.1.6 man/kramdown-man.1.md