summaryrefslogtreecommitdiffstats
path: root/packages/markdown/marked/man
diff options
context:
space:
mode:
Diffstat (limited to 'packages/markdown/marked/man')
-rw-r--r--packages/markdown/marked/man/marked.1114
-rw-r--r--packages/markdown/marked/man/marked.1.txt99
2 files changed, 213 insertions, 0 deletions
diff --git a/packages/markdown/marked/man/marked.1 b/packages/markdown/marked/man/marked.1
new file mode 100644
index 00000000..848b4424
--- /dev/null
+++ b/packages/markdown/marked/man/marked.1
@@ -0,0 +1,114 @@
+.ds q \N'34'
+.TH marked 1
+
+.SH NAME
+marked \- a javascript markdown parser
+
+.SH SYNOPSIS
+.B marked
+[\-o \fI<output>\fP] [\-i \fI<input>\fP] [\-\-help]
+[\-\-tokens] [\-\-pedantic] [\-\-gfm]
+[\-\-breaks] [\-\-tables] [\-\-sanitize]
+[\-\-smart\-lists] [\-\-lang\-prefix \fI<prefix>\fP]
+[\-\-no\-etc...] [\-\-silent] [\fIfilename\fP]
+
+.SH DESCRIPTION
+.B marked
+is a full-featured javascript markdown parser, built for speed.
+It also includes multiple GFM features.
+
+.SH EXAMPLES
+.TP
+cat in.md | marked > out.html
+.TP
+echo "hello *world*" | marked
+.TP
+marked \-o out.html \-i in.md \-\-gfm
+.TP
+marked \-\-output="hello world.html" \-i in.md \-\-no-breaks
+
+.SH OPTIONS
+.TP
+.BI \-o,\ \-\-output\ [\fIoutput\fP]
+Specify file output. If none is specified, write to stdout.
+.TP
+.BI \-i,\ \-\-input\ [\fIinput\fP]
+Specify file input, otherwise use last argument as input file.
+If no input file is specified, read from stdin.
+.TP
+.BI \-\-test
+Makes sure the test(s) pass.
+.RS
+.PP
+.B \-\-glob [\fIfile\fP]
+Specify which test to use.
+.PP
+.B \-\-fix
+Fixes tests.
+.PP
+.B \-\-bench
+Benchmarks the test(s).
+.PP
+.B \-\-time
+Times The test(s).
+.PP
+.B \-\-minified
+Runs test file(s) as minified.
+.PP
+.B \-\-stop
+Stop process if a test fails.
+.RE
+.TP
+.BI \-t,\ \-\-tokens
+Output a token stream instead of html.
+.TP
+.BI \-\-pedantic
+Conform to obscure parts of markdown.pl as much as possible.
+Don't fix original markdown bugs.
+.TP
+.BI \-\-gfm
+Enable github flavored markdown.
+.TP
+.BI \-\-breaks
+Enable GFM line breaks. Only works with the gfm option.
+.TP
+.BI \-\-tables
+Enable GFM tables. Only works with the gfm option.
+.TP
+.BI \-\-sanitize
+Sanitize output. Ignore any HTML input.
+.TP
+.BI \-\-smart\-lists
+Use smarter list behavior than the original markdown.
+.TP
+.BI \-\-lang\-prefix\ [\fIprefix\fP]
+Set the prefix for code block classes.
+.TP
+.BI \-\-mangle
+Mangle email addresses.
+.TP
+.BI \-\-no\-sanitize,\ \-no-etc...
+The inverse of any of the marked options above.
+.TP
+.BI \-\-silent
+Silence error output.
+.TP
+.BI \-h,\ \-\-help
+Display help information.
+
+.SH CONFIGURATION
+For configuring and running programmatically.
+
+.B Example
+
+ require('marked')('*foo*', { gfm: true });
+
+.SH BUGS
+Please report any bugs to https://github.com/markedjs/marked.
+
+.SH LICENSE
+Copyright (c) 2011-2014, Christopher Jeffrey (MIT License).
+
+.SH "SEE ALSO"
+.BR markdown(1),
+.BR node.js(1)
diff --git a/packages/markdown/marked/man/marked.1.txt b/packages/markdown/marked/man/marked.1.txt
new file mode 100644
index 00000000..ea07ad36
--- /dev/null
+++ b/packages/markdown/marked/man/marked.1.txt
@@ -0,0 +1,99 @@
+marked(1) General Commands Manual marked(1)
+
+NAME
+ marked - a javascript markdown parser
+
+SYNOPSIS
+ marked [-o <output>] [-i <input>] [--help] [--tokens]
+ [--pedantic] [--gfm] [--breaks] [--tables] [--sanitize]
+ [--smart-lists] [--lang-prefix <prefix>] [--no-etc...] [--silent]
+ [filename]
+
+DESCRIPTION
+ marked is a full-featured javascript markdown parser, built for speed.
+ It also includes multiple GFM features.
+
+EXAMPLES
+ cat in.md | marked > out.html
+
+ echo "hello *world*" | marked
+
+ marked -o out.html -i in.md --gfm
+
+ marked --output="hello world.html" -i in.md --no-breaks
+
+OPTIONS
+ -o, --output [output]
+ Specify file output. If none is specified, write to stdout.
+
+ -i, --input [input]
+ Specify file input, otherwise use last argument as input file.
+ If no input file is specified, read from stdin.
+
+ --test Makes sure the test(s) pass.
+
+ --glob [file] Specify which test to use.
+
+ --fix Fixes tests.
+
+ --bench Benchmarks the test(s).
+
+ --time Times The test(s).
+
+ --minified Runs test file(s) as minified.
+
+ --stop Stop process if a test fails.
+
+ -t, --tokens
+ Output a token stream instead of html.
+
+ --pedantic
+ Conform to obscure parts of markdown.pl as much as possible.
+ Don't fix original markdown bugs.
+
+ --gfm Enable github flavored markdown.
+
+ --breaks
+ Enable GFM line breaks. Only works with the gfm option.
+
+ --tables
+ Enable GFM tables. Only works with the gfm option.
+
+ --sanitize
+ Sanitize output. Ignore any HTML input.
+
+ --smart-lists
+ Use smarter list behavior than the original markdown.
+
+ --lang-prefix [prefix]
+ Set the prefix for code block classes.
+
+ --mangle
+ Mangle email addresses.
+
+ --no-sanitize, -no-etc...
+ The inverse of any of the marked options above.
+
+ --silent
+ Silence error output.
+
+ -h, --help
+ Display help information.
+
+CONFIGURATION
+ For configuring and running programmatically.
+
+ Example
+
+ require('marked')('*foo*', { gfm: true });
+
+BUGS
+ Please report any bugs to https://github.com/markedjs/marked.
+
+LICENSE
+ Copyright (c) 2011-2014, Christopher Jeffrey (MIT License).
+
+SEE ALSO
+ markdown(1), node.js(1)
+
+ marked(1)