-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from neocotic/wip-2.0.2
WIP 2.0.2
- Loading branch information
Showing
9 changed files
with
124 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
.TH MD 1 "February 2013" "" "General Commands Manual" | ||
|
||
.SH NAME | ||
.B md | ||
\- HTML to Markdown converter | ||
|
||
.SH SYNOPSIS | ||
|
||
.B md | ||
[ | ||
.B \-adlp | ||
] | ||
[ | ||
.B \-o | ||
.I output_dir | ||
] | ||
[ | ||
.I paths | ||
] | ||
.br | ||
[ | ||
.B \-dp | ||
] | ||
[ | ||
.B \-e | ||
.I html | ||
] | ||
.br | ||
[ | ||
.B \-v | ||
] | ||
|
||
.SH DESCRIPTION | ||
|
||
html.md is a JavaScript library which allows HTML to be | ||
converted into valid Markdown. It also supports file | ||
systems to provide a complete command line utility. | ||
|
||
.SH OPTIONS | ||
|
||
.TP 15 | ||
.B \-a/\-\-absolute | ||
Always use absolute URLs for converted links. | ||
|
||
.TP | ||
.B \-d/\-\-debug | ||
Debug mode. Causes | ||
.B md | ||
to print debugging messages about its progress. | ||
|
||
.HP | ||
.B \-e/\-\-eval | ||
.I html | ||
.br | ||
Specifies the HTML string to be evaluated. | ||
|
||
.TP | ||
.B \-l/\-\-long-ext | ||
Generated Markdown files should have the long file | ||
extension. When used, files will be created in the | ||
.I output_dir | ||
will have a .markdown file extension. | ||
|
||
.HP | ||
.B \-o/\-\-output | ||
.I output_dir | ||
.br | ||
Specifies the output directory to which generated | ||
Markdown files will be created. | ||
|
||
.TP | ||
.B \-p/\-\-print | ||
Print out converted Markdown to the | ||
.B stdout | ||
stream. | ||
|
||
.TP | ||
.B \-v/\-\-version | ||
Display the version number and exit. | ||
|
||
.SH BUGS | ||
|
||
Inline HTML is not yet supported in the resulting | ||
Markdown. | ||
|
||
.SH CAVEATS | ||
|
||
It is always recommended to pair option | ||
.B \-p | ||
with | ||
.B \-e | ||
otherwise | ||
.B md | ||
does all of the work but you won't see the outcome. | ||
|
||
.SH AUTHOR | ||
|
||
Alasdair Mercer < | ||
.I [email protected] | ||
> ( | ||
.I http://neocotic.com | ||
) |
Oops, something went wrong.