.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "MULTIMARKDOWN 1" .TH MULTIMARKDOWN 1 2023-07-21 "perl v5.38.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME MultiMarkdown.pl \- Convert MultiMarkdown syntax to (X)HTML .SH DESCRIPTION .IX Header "DESCRIPTION" This program is distributed as part of Perl's Text::MultiMarkdown module, illustrating sample usage. .PP MultiMarkdown.pl can be invoked on any file containing MultiMarkdown-syntax, and will produce the corresponding (X)HTML on STDOUT: .PP .Vb 2 \& $ 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 \&

MultiMarkdown extends the very well\-known Markdown syntax.

.Ve .PP If no file is specified, it will expect its input from STDIN: .PP .Vb 2 \& $ echo "A **simple** test" | multimarkdown \&

A simple test

.Ve .SH OPTIONS .IX Header "OPTIONS" .IP version 4 .IX Item "version" Shows the full information for this version .IP shortversion 4 .IX Item "shortversion" Shows only the version number .IP html4tags 4 .IX Item "html4tags" Produce HTML 4\-style tags instead of XHTML \- XHTML requires elements that do not wrap a block (i.e. the \f(CW\*(C`hr\*(C'\fR tag) to state they will not be closed, by closing with \f(CW\*(C`/>\*(C'\fR. HTML 4\-style will plainly output the tag as it comes: .Sp .Vb 4 \& $ echo \*(Aq\-\-\-\*(Aq | multimarkdown \&
\& $ echo \*(Aq\-\-\-\*(Aq | multimarkdown \-\-html4tags \&
.Ve .IP help 4 .IX Item "help" Shows this documentation .SH AUTHOR .IX Header "AUTHOR" Copyright 2004 John Gruber .PP Copyright 2006 Fletcher Penny .PP Copyright 2008 Tomas Doran .PP The manpage was written by Gunnar Wolf for its use in Debian systems, but can be freely used elsewhere. .PP For full licensing information, please refer to Text::MultiMarkdown.pm's full documentation. .SH "SEE ALSO" .IX Header "SEE ALSO" Text::MultiMarkdown,