# Guide: Mixed-Direction Display

Part of the HebrewCore documentation. Web: https://hc.itsbaba.com/docs#guide-display · Whole docs: https://hc.itsbaba.com/docs.md · Index: https://hc.itsbaba.com/llms.txt

A Hebrew line with prices, model numbers, dates or ranges needs more than `dir="rtl"`: the Unicode algorithm alone splits "10–20%" around the dash and mirrors "<5". Pass each display string through `/v1/wrap` with `base: "rtl"` and pick the format for the surface:

| Surface | Format |
| --- | --- |
| Web, React, webviews | `html` |
| iOS, Android 7+, desktop apps | `isolate` |
| Older Android, embedded and small displays, any renderer you cannot test | `marks` |

`/v1/wrap` is deterministic and fast enough to call per line at render time, or you can wrap once when the string is created and store the result.
