Skip to content

abdnh/bidi-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo of Unicode Bidirectional Algorithm

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.

Screenshot of the demo

Credit

BiDi support (bidi.js) is provided by bidi-js.

TODO

  • [] Short description of BiDi character classes.
  • [] Ambitious: Have a go at reading the standard and try to write your own implementation!