Skip to content
Marcos Caceres edited this page Mar 27, 2026 · 16 revisions

format

Type: "markdown" | "html" Default: "html"

Sets the content format for the entire document body. When set to "markdown", ReSpec interprets the document body as GitHub Flavored Markdown.

Basic usage

var respecConfig = {
  format: "markdown",
};

Notes

  • To use Markdown for only specific included sections, use data-include-format="markdown" instead of setting this globally
  • When using format: "markdown", keep all text flushed to the left — Markdown is whitespace-sensitive
  • See the Markdown guide for detailed usage, examples, and known limitations

Guides

Configuration options

W3C Configuration options

Linting rules

Internal properties

Handled by ReSpec for you.

Special <section> IDs

HTML elements

Custom Elements

HTML attributes

CSS Classes

Special properties

Clone this wiki locally