HtmlToMarkdown.HeadingStyle (html_to_markdown v3.5.0)

Copy Markdown

Heading style options for Markdown output.

Controls how headings (h1-h6) are rendered in the output Markdown.

Summary

Types

t()

Heading style options for Markdown output.

Functions

ATX style (# for h1, ## for h2, etc.). Default.

ATX closed style (# title #, with closing hashes).

Underlined style (=== for h1, --- for h2).

Types

t()

@type t() :: :underlined | :atx | :atx_closed

Heading style options for Markdown output.

Functions

atx()

@spec atx() :: t()

ATX style (# for h1, ## for h2, etc.). Default.

atx_closed()

@spec atx_closed() :: t()

ATX closed style (# title #, with closing hashes).

underlined()

@spec underlined() :: t()

Underlined style (=== for h1, --- for h2).