# `HtmlToMarkdown.TextDirection`

Text directionality of document content.

Corresponds to the HTML `dir` attribute and `bdi` element directionality.

# `t`

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

Text directionality of document content.

# `auto`

```elixir
@spec auto() :: t()
```

Automatic directionality detection

# `left_to_right`

```elixir
@spec left_to_right() :: t()
```

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

# `right_to_left`

```elixir
@spec right_to_left() :: t()
```

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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
