MULTIMARKDOWN(1p) User Contributed Perl Documentation MULTIMARKDOWN(1p)NAME
multimarkdown - Convert MultiMarkdown syntax to (X)HTML
DESCRIPTION
This program is distributed as part of Perl's Text::MultiMarkdown module, illustrating sample usage.
multimarkdown can be invoked on any file containing MultiMarkdown-syntax, and will produce the corresponding (X)HTML on STDOUT:
$ cat file.txt
[MultiMarkdown][] *extends* the very well-known [Markdown][] syntax.
[MultiMarkdown]: http://fletcherpenney.net/What_is_MultiMarkdown
[Markdown]: http://daringfireball.net/projects/markdown/
$ multimarkdown file.txt
<p><a href="http://fletcherpenney.net/What_is_MultiMarkdown">MultiMarkdown</a> <em>extends</em> the very well-known <a href="http://daringfireball.net/projects/markdown/">Markdown</a> syntax.</p>
If no file is specified, it will expect its input from STDIN:
$ echo "A **simple** test" | multimarkdown
<p>A <strong>simple</strong> test</p>
OPTIONS
version
Shows the full information for this version
shortversion
Shows only the version number
html4tags
Produce HTML 4-style tags instead of XHTML - XHTML requires elements that do not wrap a block (i.e. the "hr" tag) to state they will
not be closed, by closing with "/>". HTML 4-style will plainly output the tag as it comes:
$ echo '---' | multimarkdown
<hr />
$ echo '---' | multimarkdown --html4tags
<hr>
help
Shows this documentation
AUTHOR
Copyright 2004 John Gruber
Copyright 2006 Fletcher Penny
Copyright 2008 Tomas Doran
The manpage was written by Gunnar Wolf <gwolf@debian.org> for its use in Debian systems, but can be freely used elsewhere.
For full licensing information, please refer to Text::MultiMarkdown.pm's full documentation.
SEE ALSO
Text::MultiMarkdown, <http://fletcherpenney.net/What_is_MultiMarkdown>
perl v5.12.4 2011-07-11 MULTIMARKDOWN(1p)
Check Out this Related Man Page
HSMARKDOWN(1) General Commands Manual HSMARKDOWN(1)NAME
hsmarkdown - convert markdown-formatted text to HTML
SYNOPSIS
hsmarkdown [input-file]...
DESCRIPTION
hsmarkdown converts markdown-formatted text to HTML. It is designed to be usable as a drop-in replacement for John Gruber's Markdown.pl.
If no input-file is specified, input is read from stdin. Otherwise, the input-files are concatenated (with a blank line between each) and
used as input. Output goes to stdout by default. For output to a file, use shell redirection:
hsmarkdown input.txt > output.html
hsmarkdown is implemented as a symlink to the pandoc(1) executable. When called under the name hsmarkdown, pandoc behaves as if it had
been called with the options --from markdown --to html --strict and disables all other options. (Command-line options will be interpreted
as filenames, as they are by Markdown.pl.)
SEE ALSO pandoc(1). The README file distributed with Pandoc contains full documentation.
The Pandoc source code and all documentation may be downloaded from <http://johnmacfarlane.net/pandoc/>.
AUTHORS
John MacFarlane.
Pandoc User Manuals March 23, 2010 HSMARKDOWN(1)
Can someone please provide a simple sample of syntax using the expect tool with an app. Let's say FTP. Maybe point me to where I may find some information on the syntax used. I'm not going to by a book on it. Thanks in advance! (2 Replies)
I have these variables set:
FTPPATH=/directory/test/customer
FTPFILE=file.txt
I am trying to call this function:
ftpFiles () {
echo ${FTPPATH} ${FTPFILE} | expect >/dev/null <<EOF
set ftppath
set ftpfile
spawn sftp xxxxxx@server1
expect "password:"
send "xxxxxxxx\r"
expect... (2 Replies)