HtmlToMarkdown.ListIndentType (html_to_markdown v3.11.4)

Copy Markdown

List indentation character type.

Controls whether list items are indented with spaces or tabs.

Summary

Types

t()

List indentation character type.

Functions

Use spaces for indentation. Default. Width controlled by list_indent_width.

Use tabs for indentation.

Returns the serde wire value this variant carries on the JSON boundary (see wire_variant_value in alef's naming module) -- distinct from the atom's Elixir spelling.

Types

t()

@type t() :: :spaces | :tabs

List indentation character type.

Functions

spaces()

@spec spaces() :: t()

Use spaces for indentation. Default. Width controlled by list_indent_width.

tabs()

@spec tabs() :: t()

Use tabs for indentation.

wire_value(atom)

@spec wire_value(t()) :: String.t()

Returns the serde wire value this variant carries on the JSON boundary (see wire_variant_value in alef's naming module) -- distinct from the atom's Elixir spelling.