HtmlToMarkdown.TextDirection (html_to_markdown v3.5.3)

Copy Markdown

Text directionality of document content.

Corresponds to the HTML dir attribute and bdi element directionality.

Summary

Types

t()

Text directionality of document content.

Functions

Automatic directionality detection

Left-to-right text flow (default for Latin scripts)

Right-to-left text flow (Hebrew, Arabic, Urdu, etc.)

Types

t()

@type t() :: :ltr | :rtl | :auto

Text directionality of document content.

Functions

auto()

@spec auto() :: t()

Automatic directionality detection

left_to_right()

@spec left_to_right() :: t()

Left-to-right text flow (default for Latin scripts)

right_to_left()

@spec right_to_left() :: t()

Right-to-left text flow (Hebrew, Arabic, Urdu, etc.)