markdownp - Online in the Cloud

This is the command markdownp that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


markdown - Convert Markdown syntax to (X)HTML

DESCRIPTION


This program is distributed as part of Perl's Text::Markdown module, illustrating sample
usage.

Markdown can be invoked on any file containing Markdown-syntax, and will produce the
corresponding (X)HTML on STDOUT:

$ cat file.txt
This is a *test*.

Absolutely _nothing_ to see here. _Just a **test**_!

* test
* Yup, test.
$ markdown file.txt
<p>This is a <em>test</em>.</p>

<p>Absolutely <em>nothing</em> to see here. <em>Just a <strong>test</strong></em>!</p>

<ul>
<li>test</li>
<li>Yup, test.</li>
</ul>

If no file is specified, it will expect its input from STDIN:

$ echo "A **simple** test" | markdown
<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 '---' | markdown
<hr />
$ echo '---' | markdown --html4tags
<hr>

help
Shows this documentation

Use markdownp online using onworks.net services



Latest Linux & Windows online programs