https://github.com/abdnh/bidi-demo
JavaScript demo of Unicode Bidirectional Algorithm
https://github.com/abdnh/bidi-demo
bidi bidirectional demo javascript-demo unicode
Last synced: about 1 year ago
JSON representation
JavaScript demo of Unicode Bidirectional Algorithm
- Host: GitHub
- URL: https://github.com/abdnh/bidi-demo
- Owner: abdnh
- License: cc0-1.0
- Created: 2022-01-14T21:07:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-14T21:13:08.000Z (over 4 years ago)
- Last Synced: 2025-01-24T07:29:50.838Z (over 1 year ago)
- Topics: bidi, bidirectional, demo, javascript-demo, unicode
- Language: JavaScript
- Homepage: https://abdnh.github.io/bidi-demo/
- Size: 95.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Demo of Unicode Bidirectional Algorithm
This is a simple JavaScript demo of [Unicode Bidirectional Algorithm](https://en.wikipedia.org/wiki/Bidirectional_text) 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.

## Credit
BiDi support ([bidi.js](bidi.js)) is provided by [bidi-js](https://github.com/lojjic/bidi-js).
## TODO
- [] Short description of BiDi character classes.
- [] Ambitious: Have a go at reading the [standard](https://unicode.org/reports/tr9/) and try to write your own implementation!