---
name: "hsmarkdown"
section: "1"
platform: "linux"
package: "pandoc"
version: "1.12.4.2~dfsg-1+b14"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/hsmarkdown"
---

# hsmarkdown(1)

convert markdown-formatted text to HTML

## 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)](/pandoc/1.md) 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)](/pandoc/1.md). 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.
