---
name: "markdown-calibre"
section: "1"
platform: "linux"
package: "calibre"
version: "8.5.0+ds-1+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/markdown-calibre"
---

# markdown-calibre(1)

convert Markdown text to XHTML/HTML

## NAME

markdown-calibre - convert Markdown text to XHTML/HTML

## SYNOPSIS

**markdown-calibre** \[*options*\] \[*INPUTFILE*\]

(STDIN is assumed if no INPUTFILE is given)

## DESCRIPTION

A Python implementation of John Gruber's Markdown.

-

  https://python-markdown.github.io/

## OPTIONS

- **--version**

  show program's version number and exit

- **-h**, **--help**

  show this help message and exit

- **-f** *OUTPUT\_FILE*, **--file**=*OUTPUT\_FILE*

  Write output to *OUTPUT\_FILE*. Defaults to STDOUT.

- **-e** *ENCODING*, **--encoding**=*ENCODING*

  Encoding for input and output files.

- **-o** *OUTPUT\_FORMAT*, **--output\_format**=*OUTPUT\_FORMAT*

  Use output format 'xhtml' (default) or 'html'.

- **-n**, **--no\_lazy\_ol**

  Observe number of first item of ordered lists.

- **-x** *EXTENSION*, **--extension**=*EXTENSION*

  Load extension *EXTENSION*.

- **-c** *CONFIG\_FILE*, **--extension\_configs**=*CONFIG\_FILE*

  Read extension configurations from *CONFIG\_FILE*. *CONFIG\_FILE* must be of JSON or YAML format. YAML format requires that a python YAML library be installed. The parsed JSON or YAML must result in a python dictionary which would be accepted by the 'extension\_configs' keyword on the markdown.Markdown class. The extensions must also be loaded with the \`--extension\` option.

- **-q**, **--quiet**

  Suppress all warnings.

- **-v**, **--verbose**

  Print all warnings.

- **--noisy**

  Print debug messages.

## SEE ALSO

[**calibre**(1)](/calibre/1.md)
