md2man 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.markdown +6 -2
- data/VERSION.markdown +33 -3
- data/bin/md2man-html +1 -1
- data/bin/md2man-rake +1 -1
- data/bin/md2man-roff +1 -1
- data/lib/md2man/rakefile/style.css +1 -1
- data/lib/md2man/roff.rb +9 -9
- data/lib/md2man/version.rb +1 -1
- data/man/index.html +1 -1
- data/man/man0/EXAMPLE.png +0 -0
- data/man/man0/README.html +10 -3
- data/man/man0/README.markdown +6 -2
- data/man/man0/VERSION.html +26 -5
- data/man/man0/VERSION.markdown +33 -3
- data/man/man1/md2man-html.1 +1 -1
- data/man/man1/md2man-html.1.html +2 -2
- data/man/man1/md2man-rake.1 +1 -1
- data/man/man1/md2man-rake.1.html +2 -2
- data/man/man1/md2man-roff.1 +1 -1
- data/man/man1/md2man-roff.1.html +2 -2
- data/man/man5/md2man.5 +1 -1
- data/man/man5/md2man.5.html +2 -2
- data/man/man5/md2man.5.markdown +1 -1
- data/man/style.css +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93f58e061913aecfd66a03eb47a7d38e086ac94d
|
4
|
+
data.tar.gz: 6db7f0a5e046f418157685988263a591827e0810
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3dbe4dcdc55ae67900ce4dc8aa80244f2d346d905c96fa1bdf8aab90321261a91613f2da88e27a7f24ecaa9e0c38a4a99dffd6236155d2c595a95e58bf919745
|
7
|
+
data.tar.gz: cac0940052c5a0b5aa731bae861029741e9937b00322dfb632a0aab4c63456124ffb9248c3401c62d031ceabb7f338d1544e54e050bbcc780333126077abfdac
|
data/README.markdown
CHANGED
@@ -3,6 +3,11 @@
|
|
3
3
|
md2man is a Ruby library and a set of command-line programs that convert
|
4
4
|
[Markdown] into UNIX manual pages (both [roff] and HTML) using [Redcarpet].
|
5
5
|
|
6
|
+
* Package: <https://rubygems.org/gems/md2man>
|
7
|
+
* Manuals: <https://sunaku.github.io/md2man>
|
8
|
+
* Sources: <https://github.com/sunaku/md2man>
|
9
|
+
* Support: <https://github.com/sunaku/md2man/issues>
|
10
|
+
|
6
11
|
## Features
|
7
12
|
|
8
13
|
* Formats tagged and indented paragraphs (see "document format" below).
|
@@ -20,8 +25,7 @@ Try converting [this example Markdown file][example] into a UNIX manual page:
|
|
20
25
|
md2man-roff EXAMPLE.markdown > EXAMPLE.1
|
21
26
|
man -l EXAMPLE.1
|
22
27
|
|
23
|
-
![Obligatory screenshot of md2man(1) in action!](
|
24
|
-
https://raw.github.com/sunaku/md2man/master/EXAMPLE.png)
|
28
|
+
![Obligatory screenshot of md2man(1) in action!](EXAMPLE.png)
|
25
29
|
|
26
30
|
Also try converting [that example Markdown file][example] into a web page:
|
27
31
|
|
data/VERSION.markdown
CHANGED
@@ -1,14 +1,44 @@
|
|
1
|
+
## Version 2.1.1 (2014-06-21)
|
2
|
+
|
3
|
+
### Patch:
|
4
|
+
|
5
|
+
* Bootstrap CSS failed to load for HTML manuals served under HTTPS.
|
6
|
+
See <https://github.com/sunaku/readably/pull/3> for the details.
|
7
|
+
|
8
|
+
* Drop redundant nil check in `Md2Man::Roff::Engine.escape()`.
|
9
|
+
|
10
|
+
### Other:
|
11
|
+
|
12
|
+
* GitHub now supports relative links from the README.
|
13
|
+
|
14
|
+
* README: add links to package, manuals, and GitHub.
|
15
|
+
|
1
16
|
## Version 2.1.0 (2014-05-04)
|
2
17
|
|
3
18
|
### Minor:
|
4
19
|
|
5
|
-
* md2man-html(1)
|
20
|
+
* md2man-html(1) now adds anchors and permalinks to all headings. This
|
21
|
+
makes it easy for readers to bookmark and share direct links to specific
|
22
|
+
sections of your HTML manual pages.
|
6
23
|
|
7
|
-
*
|
24
|
+
* md2man-html(1) now wraps individual components of the special `.TH`
|
25
|
+
top-level heading in HTML `<span>` elements with stylable CSS classes:
|
26
|
+
|
27
|
+
<span class="md2man-title">...</span>
|
28
|
+
<span class="md2man-section">...</span>
|
29
|
+
<span class="md2man-date">...</span>
|
30
|
+
<span class="md2man-source">...</span>
|
31
|
+
<span class="md2man-manual">...</span>
|
32
|
+
|
33
|
+
Thanks to Nick Fagerlund for requesting this feature in [GH-15](
|
34
|
+
https://github.com/sunaku/md2man/issues/15 ).
|
8
35
|
|
9
36
|
### Other:
|
10
37
|
|
11
|
-
*
|
38
|
+
* md2man(5) now documents the special `.TH` format of top-level headings.
|
39
|
+
|
40
|
+
Thanks to Nick Fagerlund for requesting this documentation in [GH-15](
|
41
|
+
https://github.com/sunaku/md2man/issues/15 ).
|
12
42
|
|
13
43
|
## Version 2.0.4 (2014-04-26)
|
14
44
|
|
data/bin/md2man-html
CHANGED
data/bin/md2man-rake
CHANGED
data/bin/md2man-roff
CHANGED
data/lib/md2man/roff.rb
CHANGED
@@ -211,17 +211,17 @@ module Md2Man::Roff
|
|
211
211
|
private
|
212
212
|
|
213
213
|
def escape text, literally
|
214
|
-
|
215
|
-
# escape backslashes so that they appear in the printable output
|
216
|
-
gsub('\\', literally ? '\&\&' : '\\[rs]').
|
214
|
+
text.
|
217
215
|
|
218
|
-
|
219
|
-
|
216
|
+
# escape backslashes so that they appear in the printable output
|
217
|
+
gsub('\\', literally ? '\&\&' : '\\[rs]').
|
220
218
|
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
219
|
+
# escape soft-hyphens so that they appear in the printable output
|
220
|
+
gsub('-', '\\-').
|
221
|
+
|
222
|
+
# escape line-beginning control characters (period and single quote)
|
223
|
+
# by prefixing a non-printable, zero-width glyph (backslash ampersand)
|
224
|
+
gsub(/^(?=[.'])/, '\\\\&')
|
225
225
|
end
|
226
226
|
|
227
227
|
def remove_leading_pp text
|
data/lib/md2man/version.rb
CHANGED
data/man/index.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta charset="utf-8" />
|
5
|
-
<meta name="generator" content="md2man 2.1.
|
5
|
+
<meta name="generator" content="md2man 2.1.1 https://github.com/sunaku/md2man" />
|
6
6
|
<title>man/index</title>
|
7
7
|
<link rel="stylesheet" href="style.css"/>
|
8
8
|
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
Binary file
|
data/man/man0/README.html
CHANGED
@@ -2,13 +2,20 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta charset="utf-8" />
|
5
|
-
<meta name="generator" content="md2man 2.1.
|
5
|
+
<meta name="generator" content="md2man 2.1.1 https://github.com/sunaku/md2man" />
|
6
6
|
<title>README</title>
|
7
7
|
<link rel="stylesheet" href="../style.css"/>
|
8
8
|
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
9
9
|
</head>
|
10
10
|
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man0">man0</a>/README</span></div></div><div class="container-fluid"><h1 id="md2man-markdown-to-manpage"><span class="md2man-title">md2man</span> <span class="md2man-section">-</span> <span class="md2man-date">markdown</span> <span class="md2man-source">to</span> <span class="md2man-manual">manpage</span><a name="md2man-markdown-to-manpage" href="#md2man-markdown-to-manpage" class="md2man-permalink"></a></h1><p>md2man is a Ruby library and a set of command-line programs that convert
|
11
|
-
<a href="http://daringfireball.net/projects/markdown/">Markdown</a> into UNIX manual pages (both <a href="http://troff.org">roff</a> and HTML) using <a href="https://github.com/vmg/redcarpet">Redcarpet</a>.</p
|
11
|
+
<a href="http://daringfireball.net/projects/markdown/">Markdown</a> into UNIX manual pages (both <a href="http://troff.org">roff</a> and HTML) using <a href="https://github.com/vmg/redcarpet">Redcarpet</a>.</p>
|
12
|
+
<ul>
|
13
|
+
<li>Package: <a href="https://rubygems.org/gems/md2man">https://rubygems.org/gems/md2man</a></li>
|
14
|
+
<li>Manuals: <a href="https://sunaku.github.io/md2man">https://sunaku.github.io/md2man</a></li>
|
15
|
+
<li>Sources: <a href="https://github.com/sunaku/md2man">https://github.com/sunaku/md2man</a></li>
|
16
|
+
<li>Support: <a href="https://github.com/sunaku/md2man/issues">https://github.com/sunaku/md2man/issues</a></li>
|
17
|
+
</ul>
|
18
|
+
<h2 id="Features">Features<a name="Features" href="#Features" class="md2man-permalink"></a></h2>
|
12
19
|
<ul>
|
13
20
|
<li><p>Formats tagged and indented paragraphs (see "document format" below).</p></li>
|
14
21
|
<li><p>Translates all HTML4 and XHTML1 entities into native <a href="http://troff.org">roff</a> equivalents.</p></li>
|
@@ -19,7 +26,7 @@
|
|
19
26
|
<pre><code>md2man-roff EXAMPLE.markdown > EXAMPLE.1
|
20
27
|
man -l EXAMPLE.1
|
21
28
|
</code></pre>
|
22
|
-
<p><img src="
|
29
|
+
<p><img src="EXAMPLE.png" alt="Obligatory screenshot of md2man(1) in action!"></p><p>Also try converting <a href="https://raw.github.com/sunaku/md2man/master/EXAMPLE.markdown">that example Markdown file</a> into a web page:</p>
|
23
30
|
<pre><code>md2man-html EXAMPLE.markdown > EXAMPLE.html
|
24
31
|
open EXAMPLE.html
|
25
32
|
</code></pre>
|
data/man/man0/README.markdown
CHANGED
@@ -3,6 +3,11 @@
|
|
3
3
|
md2man is a Ruby library and a set of command-line programs that convert
|
4
4
|
[Markdown] into UNIX manual pages (both [roff] and HTML) using [Redcarpet].
|
5
5
|
|
6
|
+
* Package: <https://rubygems.org/gems/md2man>
|
7
|
+
* Manuals: <https://sunaku.github.io/md2man>
|
8
|
+
* Sources: <https://github.com/sunaku/md2man>
|
9
|
+
* Support: <https://github.com/sunaku/md2man/issues>
|
10
|
+
|
6
11
|
## Features
|
7
12
|
|
8
13
|
* Formats tagged and indented paragraphs (see "document format" below).
|
@@ -20,8 +25,7 @@ Try converting [this example Markdown file][example] into a UNIX manual page:
|
|
20
25
|
md2man-roff EXAMPLE.markdown > EXAMPLE.1
|
21
26
|
man -l EXAMPLE.1
|
22
27
|
|
23
|
-
![Obligatory screenshot of md2man(1) in action!](
|
24
|
-
https://raw.github.com/sunaku/md2man/master/EXAMPLE.png)
|
28
|
+
![Obligatory screenshot of md2man(1) in action!](EXAMPLE.png)
|
25
29
|
|
26
30
|
Also try converting [that example Markdown file][example] into a web page:
|
27
31
|
|
data/man/man0/VERSION.html
CHANGED
@@ -2,19 +2,40 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta charset="utf-8" />
|
5
|
-
<meta name="generator" content="md2man 2.1.
|
5
|
+
<meta name="generator" content="md2man 2.1.1 https://github.com/sunaku/md2man" />
|
6
6
|
<title>VERSION</title>
|
7
7
|
<link rel="stylesheet" href="../style.css"/>
|
8
8
|
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
9
9
|
</head>
|
10
|
-
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man0">man0</a>/VERSION</span></div></div><div class="container-fluid"><h2 id="Version-2-1-
|
10
|
+
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man0">man0</a>/VERSION</span></div></div><div class="container-fluid"><h2 id="Version-2-1-1-2014-06-21">Version 2.1.1 (2014-06-21)<a name="Version-2-1-1-2014-06-21" href="#Version-2-1-1-2014-06-21" class="md2man-permalink"></a></h2><h3 id="Patch">Patch:<a name="Patch" href="#Patch" class="md2man-permalink"></a></h3>
|
11
11
|
<ul>
|
12
|
-
<li><p
|
13
|
-
<
|
12
|
+
<li><p>Bootstrap CSS failed to load for HTML manuals served under HTTPS.
|
13
|
+
See <a href="https://github.com/sunaku/readably/pull/3">https://github.com/sunaku/readably/pull/3</a> for the details.</p></li>
|
14
|
+
<li><p>Drop redundant nil check in <code>Md2Man::Roff::Engine.escape()</code>.</p></li>
|
14
15
|
</ul>
|
15
16
|
<h3 id="Other">Other:<a name="Other" href="#Other" class="md2man-permalink"></a></h3>
|
16
17
|
<ul>
|
17
|
-
<li>
|
18
|
+
<li><p>GitHub now supports relative links from the README.</p></li>
|
19
|
+
<li><p>README: add links to package, manuals, and GitHub.</p></li>
|
20
|
+
</ul>
|
21
|
+
<h2 id="Version-2-1-0-2014-05-04">Version 2.1.0 (2014-05-04)<a name="Version-2-1-0-2014-05-04" href="#Version-2-1-0-2014-05-04" class="md2man-permalink"></a></h2><h3 id="Minor">Minor:<a name="Minor" href="#Minor" class="md2man-permalink"></a></h3>
|
22
|
+
<ul>
|
23
|
+
<li><p><a class="md2man-xref" href="../man1/md2man-html.1.html">md2man-html(1)</a> now adds anchors and permalinks to all headings. This
|
24
|
+
makes it easy for readers to bookmark and share direct links to specific
|
25
|
+
sections of your HTML manual pages.</p></li>
|
26
|
+
<li><p><a class="md2man-xref" href="../man1/md2man-html.1.html">md2man-html(1)</a> now wraps individual components of the special <code>.TH</code>
|
27
|
+
top-level heading in HTML <code><span></code> elements with stylable CSS classes:</p>
|
28
|
+
<pre><code><span class="md2man-title">...</span>
|
29
|
+
<span class="md2man-section">...</span>
|
30
|
+
<span class="md2man-date">...</span>
|
31
|
+
<span class="md2man-source">...</span>
|
32
|
+
<span class="md2man-manual">...</span>
|
33
|
+
</code></pre>
|
34
|
+
<p>Thanks to Nick Fagerlund for requesting this feature in <a href="https://github.com/sunaku/md2man/issues/15">GH-15</a>.</p></li>
|
35
|
+
</ul>
|
36
|
+
<h3 id="Other">Other:<a name="Other" href="#Other" class="md2man-permalink"></a></h3>
|
37
|
+
<ul>
|
38
|
+
<li><p><a class="md2man-xref" href="../man5/md2man.5.html">md2man(5)</a> now documents the special <code>.TH</code> format of top-level headings.</p><p>Thanks to Nick Fagerlund for requesting this documentation in <a href="https://github.com/sunaku/md2man/issues/15">GH-15</a>.</p></li>
|
18
39
|
</ul>
|
19
40
|
<h2 id="Version-2-0-4-2014-04-26">Version 2.0.4 (2014-04-26)<a name="Version-2-0-4-2014-04-26" href="#Version-2-0-4-2014-04-26" class="md2man-permalink"></a></h2><h3 id="Patch">Patch:<a name="Patch" href="#Patch" class="md2man-permalink"></a></h3>
|
20
41
|
<ul>
|
data/man/man0/VERSION.markdown
CHANGED
@@ -1,14 +1,44 @@
|
|
1
|
+
## Version 2.1.1 (2014-06-21)
|
2
|
+
|
3
|
+
### Patch:
|
4
|
+
|
5
|
+
* Bootstrap CSS failed to load for HTML manuals served under HTTPS.
|
6
|
+
See <https://github.com/sunaku/readably/pull/3> for the details.
|
7
|
+
|
8
|
+
* Drop redundant nil check in `Md2Man::Roff::Engine.escape()`.
|
9
|
+
|
10
|
+
### Other:
|
11
|
+
|
12
|
+
* GitHub now supports relative links from the README.
|
13
|
+
|
14
|
+
* README: add links to package, manuals, and GitHub.
|
15
|
+
|
1
16
|
## Version 2.1.0 (2014-05-04)
|
2
17
|
|
3
18
|
### Minor:
|
4
19
|
|
5
|
-
* md2man-html(1)
|
20
|
+
* md2man-html(1) now adds anchors and permalinks to all headings. This
|
21
|
+
makes it easy for readers to bookmark and share direct links to specific
|
22
|
+
sections of your HTML manual pages.
|
6
23
|
|
7
|
-
*
|
24
|
+
* md2man-html(1) now wraps individual components of the special `.TH`
|
25
|
+
top-level heading in HTML `<span>` elements with stylable CSS classes:
|
26
|
+
|
27
|
+
<span class="md2man-title">...</span>
|
28
|
+
<span class="md2man-section">...</span>
|
29
|
+
<span class="md2man-date">...</span>
|
30
|
+
<span class="md2man-source">...</span>
|
31
|
+
<span class="md2man-manual">...</span>
|
32
|
+
|
33
|
+
Thanks to Nick Fagerlund for requesting this feature in [GH-15](
|
34
|
+
https://github.com/sunaku/md2man/issues/15 ).
|
8
35
|
|
9
36
|
### Other:
|
10
37
|
|
11
|
-
*
|
38
|
+
* md2man(5) now documents the special `.TH` format of top-level headings.
|
39
|
+
|
40
|
+
Thanks to Nick Fagerlund for requesting this documentation in [GH-15](
|
41
|
+
https://github.com/sunaku/md2man/issues/15 ).
|
12
42
|
|
13
43
|
## Version 2.0.4 (2014-04-26)
|
14
44
|
|
data/man/man1/md2man-html.1
CHANGED
data/man/man1/md2man-html.1.html
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta charset="utf-8" />
|
5
|
-
<meta name="generator" content="md2man 2.1.
|
5
|
+
<meta name="generator" content="md2man 2.1.1 https://github.com/sunaku/md2man" />
|
6
6
|
<title>md2man-html(1) — convert md2man(5) flavored markdown(7) into HTML</title>
|
7
7
|
<link rel="stylesheet" href="../style.css"/>
|
8
8
|
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
9
9
|
</head>
|
10
|
-
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/md2man-html.1</span></div></div><div class="container-fluid"><h1 id="MD2MAN-HTML-1-2014-
|
10
|
+
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/md2man-html.1</span></div></div><div class="container-fluid"><h1 id="MD2MAN-HTML-1-2014-06-21-2-1-1"><span class="md2man-title">MD2MAN-HTML</span> <span class="md2man-section">1</span> <span class="md2man-date">2014-06-21</span> <span class="md2man-source">2.1.1</span><a name="MD2MAN-HTML-1-2014-06-21-2-1-1" href="#MD2MAN-HTML-1-2014-06-21-2-1-1" class="md2man-permalink"></a></h1><h2 id="NAME">NAME<a name="NAME" href="#NAME" class="md2man-permalink"></a></h2><p>md2man-html - convert <a class="md2man-xref" href="../man5/md2man.5.html">md2man(5)</a> flavored <a class="md2man-xref">markdown(7)</a> into HTML</p><h2 id="SYNOPSIS">SYNOPSIS<a name="SYNOPSIS" href="#SYNOPSIS" class="md2man-permalink"></a></h2><p><code>md2man-html</code> [<em>OPTION</em>]... [<em>FILE</em>]</p><h2 id="DESCRIPTION">DESCRIPTION<a name="DESCRIPTION" href="#DESCRIPTION" class="md2man-permalink"></a></h2><p>This program converts <a class="md2man-xref" href="../man5/md2man.5.html">md2man(5)</a> flavored <a class="md2man-xref">markdown(7)</a> input from the given
|
11
11
|
<em>FILE</em> into HTML and then prints the result to the standard output stream.
|
12
12
|
If <em>FILE</em> is not given, then the standard input stream is read in its place.</p><h3 id="Top-level-headings">Top-level headings<a name="Top-level-headings" href="#Top-level-headings" class="md2man-permalink"></a></h3><p>Each component of the <code>.TH</code> directive in <a class="md2man-xref">roff(7)</a>, described under "Top-level
|
13
13
|
headings" in <a class="md2man-xref" href="../man5/md2man.5.html">md2man(5)</a>, is wrapped in stylable <code><span></code> elements as follows:</p>
|
data/man/man1/md2man-rake.1
CHANGED
data/man/man1/md2man-rake.1.html
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta charset="utf-8" />
|
5
|
-
<meta name="generator" content="md2man 2.1.
|
5
|
+
<meta name="generator" content="md2man 2.1.1 https://github.com/sunaku/md2man" />
|
6
6
|
<title>md2man-rake(1) — run rake(1) tasks from md2man(1)</title>
|
7
7
|
<link rel="stylesheet" href="../style.css"/>
|
8
8
|
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
9
9
|
</head>
|
10
|
-
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/md2man-rake.1</span></div></div><div class="container-fluid"><h1 id="MD2MAN-RAKE-1-2014-
|
10
|
+
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/md2man-rake.1</span></div></div><div class="container-fluid"><h1 id="MD2MAN-RAKE-1-2014-06-21-2-1-1"><span class="md2man-title">MD2MAN-RAKE</span> <span class="md2man-section">1</span> <span class="md2man-date">2014-06-21</span> <span class="md2man-source">2.1.1</span><a name="MD2MAN-RAKE-1-2014-06-21-2-1-1" href="#MD2MAN-RAKE-1-2014-06-21-2-1-1" class="md2man-permalink"></a></h1><h2 id="NAME">NAME<a name="NAME" href="#NAME" class="md2man-permalink"></a></h2><p>md2man-rake - run <a class="md2man-xref">rake(1)</a> tasks from <a class="md2man-xref">md2man(1)</a></p><h2 id="SYNOPSIS">SYNOPSIS<a name="SYNOPSIS" href="#SYNOPSIS" class="md2man-permalink"></a></h2><p><code>md2man-rake</code> [<em>OPTION</em>]... [<em>TASK</em>]...</p><h2 id="DESCRIPTION">DESCRIPTION<a name="DESCRIPTION" href="#DESCRIPTION" class="md2man-permalink"></a></h2><p>This program lets you run <a class="md2man-xref">rake(1)</a> tasks provided by <a class="md2man-xref">md2man(1)</a> without having
|
11
11
|
to create a special file named <code>Rakefile</code> that contains the following snippet:</p>
|
12
12
|
<pre><code>require 'md2man/rakefile'
|
13
13
|
</code></pre>
|
data/man/man1/md2man-roff.1
CHANGED
data/man/man1/md2man-roff.1.html
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta charset="utf-8" />
|
5
|
-
<meta name="generator" content="md2man 2.1.
|
5
|
+
<meta name="generator" content="md2man 2.1.1 https://github.com/sunaku/md2man" />
|
6
6
|
<title>md2man-roff(1) — convert md2man(5) flavored markdown(7) into roff(7)</title>
|
7
7
|
<link rel="stylesheet" href="../style.css"/>
|
8
8
|
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
9
9
|
</head>
|
10
|
-
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/md2man-roff.1</span></div></div><div class="container-fluid"><h1 id="MD2MAN-ROFF-1-2014-
|
10
|
+
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/md2man-roff.1</span></div></div><div class="container-fluid"><h1 id="MD2MAN-ROFF-1-2014-06-21-2-1-1"><span class="md2man-title">MD2MAN-ROFF</span> <span class="md2man-section">1</span> <span class="md2man-date">2014-06-21</span> <span class="md2man-source">2.1.1</span><a name="MD2MAN-ROFF-1-2014-06-21-2-1-1" href="#MD2MAN-ROFF-1-2014-06-21-2-1-1" class="md2man-permalink"></a></h1><h2 id="NAME">NAME<a name="NAME" href="#NAME" class="md2man-permalink"></a></h2><p>md2man-roff - convert <a class="md2man-xref" href="../man5/md2man.5.html">md2man(5)</a> flavored <a class="md2man-xref">markdown(7)</a> into <a class="md2man-xref">roff(7)</a></p><h2 id="SYNOPSIS">SYNOPSIS<a name="SYNOPSIS" href="#SYNOPSIS" class="md2man-permalink"></a></h2><p><code>md2man-roff</code> [<em>OPTION</em>]... [<em>FILE</em>]</p><h2 id="DESCRIPTION">DESCRIPTION<a name="DESCRIPTION" href="#DESCRIPTION" class="md2man-permalink"></a></h2><p>This program converts <a class="md2man-xref" href="../man5/md2man.5.html">md2man(5)</a> flavored <a class="md2man-xref">markdown(7)</a> input from the given
|
11
11
|
<em>FILE</em> into <a class="md2man-xref">roff(7)</a> and then prints the result to the standard output stream.
|
12
12
|
If <em>FILE</em> is not given, then the standard input stream is read in its place.</p><h3 id="Limitations">Limitations<a name="Limitations" href="#Limitations" class="md2man-permalink"></a></h3><p>This program does not convert the following <a href="https://github.com/vmg/redcarpet">Redcarpet</a> nodes into <a class="md2man-xref">roff(7)</a>:</p>
|
13
13
|
<ul>
|
data/man/man5/md2man.5
CHANGED
data/man/man5/md2man.5.html
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta charset="utf-8" />
|
5
|
-
<meta name="generator" content="md2man 2.1.
|
5
|
+
<meta name="generator" content="md2man 2.1.1 https://github.com/sunaku/md2man" />
|
6
6
|
<title>md2man(5) — manual page flavoring for the markdown(7) file format</title>
|
7
7
|
<link rel="stylesheet" href="../style.css"/>
|
8
8
|
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
9
9
|
</head>
|
10
|
-
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man5">man5</a>/md2man.5</span></div></div><div class="container-fluid"><h1 id="MD2MAN-5-2014-
|
10
|
+
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man5">man5</a>/md2man.5</span></div></div><div class="container-fluid"><h1 id="MD2MAN-5-2014-06-21-2-1-1"><span class="md2man-title">MD2MAN</span> <span class="md2man-section">5</span> <span class="md2man-date">2014-06-21</span> <span class="md2man-source">2.1.1</span><a name="MD2MAN-5-2014-06-21-2-1-1" href="#MD2MAN-5-2014-06-21-2-1-1" class="md2man-permalink"></a></h1><h2 id="NAME">NAME<a name="NAME" href="#NAME" class="md2man-permalink"></a></h2><p>md2man - manual page flavoring for the <a class="md2man-xref">markdown(7)</a> file format</p><h2 id="DESCRIPTION">DESCRIPTION<a name="DESCRIPTION" href="#DESCRIPTION" class="md2man-permalink"></a></h2><p><a href="https://github.com/sunaku/md2man">md2man</a> makes the <a class="md2man-xref">markdown(7)</a> file format friendly for writing UNIX manual
|
11
11
|
pages by extending its syntax, semantics, and assumed processing extensions.</p><h3 id="Syntax">Syntax<a name="Syntax" href="#Syntax" class="md2man-permalink"></a></h3><p>md2man extends <a class="md2man-xref">markdown(7)</a> syntax by defining three kinds of paragraphs.</p>
|
12
12
|
<pre><code>This is a
|
13
13
|
normal
|
data/man/man5/md2man.5.markdown
CHANGED
data/man/style.css
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: md2man
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Suraj N. Kurapati
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: binman
|
@@ -97,6 +97,7 @@ files:
|
|
97
97
|
- lib/md2man/roff/engine.rb
|
98
98
|
- lib/md2man/version.rb
|
99
99
|
- man/index.html
|
100
|
+
- man/man0/EXAMPLE.png
|
100
101
|
- man/man0/README.html
|
101
102
|
- man/man0/README.markdown
|
102
103
|
- man/man0/VERSION.html
|