This is a simple JavaScript demo of Unicode Bidirectional Algorithm for handling text containing characters of mixed directionality (e.g. mixed English and Arabic text).
I wrote this to explore BiDi text and to create simple illustrations for an article about BiDi text that I intend to write.
BiDi support (bidi.js) is provided by bidi-js.
- [] Short description of BiDi character classes.
- [] Ambitious: Have a go at reading the standard and try to write your own implementation!