Text::Markdown::Discount(3pm) User Contributed Perl Documentation Text::Markdown::Discount(3pm)NAME
Text::Markdown::Discount - Perl extension interface for "Discount", an implementation of John Gruber's "markdown"
<http://daringfireball.net/projects/markdown/> in C developed by David Loren Parsons <http://www.pell.portland.or.us/~orc>.
SYNOPSIS
use Text::Markdown::Discount;
my $html = markdown($text)
DESCRIPTION
Given that the performance of Discount, Text::Markdown::Discount processes markdown formatted text quickly and passes the Markdown test
suite at <http://daringfireball.net/projects/downloads/MarkdownTest_1.0.zip>
the interface of <markdown()> is not compatible with Text::Markdown::markdown()
EXPORT
markdown is exported by default.
SEE ALSO
Text::Markdown, http://www.pell.portland.or.us/~orc/Code/markdown/
AUTHOR
Masayoshi Sekimura, <sekimura@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2009 by Masayoshi Sekimura
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or,
at your option, any later version of Perl 5 you may have available.
This product includes software developed by David Loren Parsons <http://www.pell.portland.or.us/~orc>
perl v5.14.2 2012-01-02 Text::Markdown::Discount(3pm)
Check Out this Related Man Page
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)
Hi Guys,
How can I compare 2 text files and show the differences between the 2 files but have some of the text ignored?
Example
File1 File2
Thomas Thomass !1st name!
David Davidd !2nd name!
John John !3rd name!
So,... (1 Reply)
Hi Everyone,
I am considering staying in India for a few months, maybe Bangalore with side trips to Mumbai, Goa and elsewhere.
Does anyone know of the best websites to book discount hotels in Bangalore?
My experience travelling around the world is that the each city tends to have a local... (8 Replies)
I'm in need of help for a project that I'm working on. I believe Perl would be the best way of handling the string manipulation, however, I've barely used perl, and I'm used to BASH scripting. Another note is, this project is in a Windows environment, so I can use Perl, but I do not have shell... (1 Reply)
I have a topic line in markdown that spans more than 80 characters that i need to add a line break. Markdown is simply treating the line break as a brand new line instead of continuing as a topic line.
Eg:
# This is a very long
line
Markdown interprets it as
This is a very long
line (4 Replies)