1MULTIMARKDOWN(1)      User Contributed Perl Documentation     MULTIMARKDOWN(1)
2
3
4

NAME

6       MultiMarkdown.pl - Convert MultiMarkdown syntax to (X)HTML
7

DESCRIPTION

9       This program is distributed as part of Perl's Text::MultiMarkdown
10       module, illustrating sample usage.
11
12       MultiMarkdown.pl can be invoked on any file containing MultiMarkdown-
13       syntax, and will produce the corresponding (X)HTML on STDOUT:
14
15           $ cat file.txt
16           [MultiMarkdown][] *extends* the very well-known [Markdown][] syntax.
17
18           [MultiMarkdown]: http://fletcherpenney.net/What_is_MultiMarkdown
19           [Markdown]: http://daringfireball.net/projects/markdown/
20
21           $ multimarkdown file.txt
22           <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>
23
24       If no file is specified, it will expect its input from STDIN:
25
26           $ echo "A **simple** test" | multimarkdown
27           <p>A <strong>simple</strong> test</p>
28

OPTIONS

30       version
31           Shows the full information for this version
32
33       shortversion
34           Shows only the version number
35
36       html4tags
37           Produce HTML 4-style tags instead of XHTML - XHTML requires
38           elements that do not wrap a block (i.e. the "hr" tag) to state they
39           will not be closed, by closing with "/>". HTML 4-style will plainly
40           output the tag as it comes:
41
42               $ echo '---' | multimarkdown
43               <hr />
44               $ echo '---' | multimarkdown --html4tags
45               <hr>
46
47       help
48           Shows this documentation
49

AUTHOR

51       Copyright 2004 John Gruber
52
53       Copyright 2006 Fletcher Penny
54
55       Copyright 2008 Tomas Doran
56
57       The manpage was written by Gunnar Wolf <gwolf@debian.org> for its use
58       in Debian systems, but can be freely used elsewhere.
59
60       For full licensing information, please refer to
61       Text::MultiMarkdown.pm's full documentation.
62

SEE ALSO

64       Text::MultiMarkdown, <http://fletcherpenney.net/What_is_MultiMarkdown>
65
66
67
68perl v5.34.0                      2022-01-21                  MULTIMARKDOWN(1)
Impressum